diff --git a/views/layout.haml b/views/layout.haml index 99acfe4..bcce5f4 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -1,7 +1,7 @@ !!!5 %html %head - %title= page_title ? page_title + " · Sutton Elections" : "Sutton Elections · Your guide to voting and election results in the London Borough of Sutton" + %title= page_title > ""? page_title + " · Sutton Elections" : "Sutton Elections · Your guide to voting and election results in the London Borough of Sutton" %link{ :rel => 'stylesheet', :type => 'text/css', :href => '/style.css' } %meta{ :name => 'referrer', :content => 'no-referrer' } %meta{ :name => 'viewport', :content => 'width=device-width, initial-scale=1' }