Title persitent fix
This commit is contained in:
parent
8ec6c7f729
commit
b22ff56ce4
|
@ -72,14 +72,17 @@
|
|||
</div>
|
||||
<div class="parent-navbar-brand">
|
||||
<span class="navbar-brand" href="#home">
|
||||
{% if(!(o.titlePersistent || o.meta.titlePersistent || o.id == 'home')){ %}
|
||||
{%# (o.titleSeparator || o.meta.titleSeparator) %}
|
||||
{% } %}
|
||||
<span class="momo-icon">
|
||||
{% var icon = (o.titlePersistant || o.meta.titlePersistant || o.id == 'home') ? o.meta.icon : o.icon || o.meta.icon; %}
|
||||
{% 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 }) %}
|
||||
{% } %}
|
||||
</span>
|
||||
<span class="momo-title">
|
||||
{% if(o.titlePersistant || o.meta.titlePersistant || o.id == 'home'){ %}
|
||||
{% if(o.titlePersistent || o.meta.titlePersistent || o.id == 'home'){ %}
|
||||
{%= o.meta.title %}
|
||||
{%# (o.titleSeparator || o.meta.titleSeparator) %}
|
||||
<small>
|
||||
|
|
|
@ -46,7 +46,7 @@ var app = {
|
|||
'assetsUrl': 'assets.zip',
|
||||
'updateFreq': 0,
|
||||
'content': tmpl('momo-first-launch-tmpl'),
|
||||
'titlePersistant': true,
|
||||
'titlePersitent': true,
|
||||
'titleSeparator': "<br>"
|
||||
}
|
||||
},
|
||||
|
|
Reference in New Issue