From 77419ea9ac75231b1a0812a4b63c789700776749 Mon Sep 17 00:00:00 2001 From: Ghislain Loaec Date: Wed, 2 Sep 2015 09:52:18 +0200 Subject: [PATCH] Icon persistent --- www/index.html | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/www/index.html b/www/index.html index 77170cf..26ec13d 100644 --- a/www/index.html +++ b/www/index.html @@ -80,32 +80,32 @@ {% } %}
- - {% if(!(o.titlePersistent || o.meta.titlePersistent || o.id == 'home')){ %} - {%# (o.titleSeparator || o.meta.titleSeparator) %} - {% } %} - - {% var icon = (o.titlePersistent || o.meta.titlePersistent || o.id == 'home') ? 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'){ %} - {%= o.meta.title %} + + {% if(!(o.titlePersistent || o.meta.titlePersistent || o.id == 'home')){ %} {%# (o.titleSeparator || o.meta.titleSeparator) %} - - {% if(o.meta.icon && o.icon){ %} - {%# tmpl('momo-icon-tmpl', { icon: o.icon, size: 20, header: true }) %} - {% } %} - {%# o.title %} - - {% } else { %} - {%# (o.title || o.meta.title) %} {% } %} + + {% var icon = (o.titlePersistent || o.meta.titlePersistent || o.id == 'home') ? 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'){ %} + {%= o.meta.title %} + {%# (o.titleSeparator || o.meta.titleSeparator) %} + + {% if(o.meta.icon && o.icon){ %} + {%# tmpl('momo-icon-tmpl', { icon: o.icon, size: 20, header: true }) %} + {% } %} + {%# o.title %} + + {% } else { %} + {%# (o.title || o.meta.title) %} + {% } %} + - -
+