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:17:53 -0400
committerGitHub <noreply@github.com>2017-04-07 22:17:53 -0400
commit3e8c1a1c36b9d5cba96968d351cae2e2eefc3d22 (patch)
tree691bb470a0811e28b2ebd5d32255048a7df763b3 /app/views/layouts/application.html.haml
parent7aede8e72092fa2b8846f2212dff411247a841b1 (diff)
parent9fd8bbe15c18e0931ccf2c00fb6a1e69acfb0b0c (diff)
Merge branch 'master' into master
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'