From 5b2b0bce024b6f411a3ca2ee04f962b84d22da04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 22 Aug 2015 09:14:04 +0200 Subject: [PATCH] respect titlePersistent settings on home page (#8086) --- www/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/index.html b/www/index.html index 452adda..16a24fc 100644 --- a/www/index.html +++ b/www/index.html @@ -94,17 +94,17 @@
- {% if(!(o.titlePersistent || o.meta.titlePersistent || o.id == 'home')){ %} + {% if(!(o.titlePersistent || o.meta.titlePersistent)){ %} {%# (o.titleSeparator || o.meta.titleSeparator) %} {% } %} - {% var icon = (o.titlePersistent || o.meta.titlePersistent || o.id == 'home') ? o.meta.icon : o.icon || o.meta.icon; %} + {% var icon = (o.titlePersistent || o.meta.titlePersistent) ? o.meta.icon : o.icon || o.meta.icon; %} {% if(icon){ %} {%# tmpl('momo-icon-tmpl', { icon: icon, size: 20, header: true }) %} {% } %} - {% if(o.titlePersistent || o.meta.titlePersistent || o.id == 'home'){ %} + {% if(o.titlePersistent || o.meta.titlePersistent){ %} {%= o.meta.title %} {%# (o.titleSeparator || o.meta.titleSeparator) %}