empty string as default title

This commit is contained in:
Benjamin Neff 2016-12-30 06:55:00 +01:00
parent 1a9595e0b8
commit ed8339d3d0
2 changed files with 3 additions and 3 deletions

View file

@ -20,4 +20,4 @@ defaults:
path: "" path: ""
values: values:
layout: "default" layout: "default"
title: title: ""

View file

@ -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 %}