about summary refs log tree commit diff
path: root/app/views/layouts/application.html.haml
diff options
context:
space:
mode:
authorShel R <Yiskah.Raphen@gmail.com>2017-04-07 22:59:07 -0400
committerGitHub <noreply@github.com>2017-04-07 22:59:07 -0400
commit741bbba6ff79069d79f98879007f453c85ec9c57 (patch)
treec79705dc1284aa309ba3946039dfc0f4691defe4 /app/views/layouts/application.html.haml
parent56f4a94e7b39074f5e7d250c521a7d3336f25b55 (diff)
parenta25a384af3d08a05bc0907261f76410da36cbb10 (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r--app/views/layouts/application.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 7eae6982b..abab14a28 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -11,8 +11,10 @@
     %meta{:name => "theme-color", :content => "#282c37"}/
     %meta{:name => "apple-mobile-web-app-capable", :content => "yes"}/
 
-    %title
-      = "#{yield(:page_title)} - " if content_for?(:page_title)
+    %title<
+      - if content_for?(:page_title)
+        = yield(:page_title)
+        = ' - '
       = Setting.site_title
 
     = stylesheet_link_tag 'application', media: 'all'