empty string as default title
This commit is contained in:
parent
1a9595e0b8
commit
ed8339d3d0
2 changed files with 3 additions and 3 deletions
|
|
@ -20,4 +20,4 @@ defaults:
|
||||||
path: ""
|
path: ""
|
||||||
values:
|
values:
|
||||||
layout: "default"
|
layout: "default"
|
||||||
title:
|
title: ""
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{{ site.baseurl }}/assets/images/favicon.ico" />
|
<link rel="shortcut icon" type="image/x-icon" href="{{ site.baseurl }}/assets/images/favicon.ico" />
|
||||||
|
|
||||||
{% capture page_title %}
|
{% capture page_title %}
|
||||||
{% if page.title %}
|
{% if page.title != "" %}
|
||||||
{{ page.title }} - diaspora* federation protocol
|
{{ page.title }} - diaspora* federation protocol
|
||||||
{% else %}
|
{% else %}
|
||||||
diaspora* federation protocol
|
diaspora* federation protocol
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-9 docbody">
|
<div class="col-sm-9 docbody">
|
||||||
{% if page.title %}
|
{% if page.title != "" %}
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue