Add page.title if available (#58)

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
pull/64/head
Thomas Dietrich 2016-08-04 18:02:12 +02:00 committed by Kai Kreuzer
parent f0fbb533c4
commit df30eaf729
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include base.html %}
<!--<link rel="shortcut icon" href="https://www.openhab.org/favicon.png"></link>-->
<title>openHAB - Empowering the Smart Home</title>
<title>{% if page.title != nil %}{{ page.title }} - {% endif %}openHAB - Empowering the Smart Home</title>
<!-- CSS -->
<link href="{{base}}/css/materialize.css" type="text/css" rel="stylesheet"

View File

@ -1,5 +1,6 @@
---
layout: documentation
title: Sitemaps
---
{% include base.html %}