From b2568d97a4b92c2730282e3eabbb671d1a3969c4 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sun, 21 Oct 2018 14:48:47 +0100 Subject: [PATCH] Fix homepage page title --- views/layout.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }