From 8e1c2bfc88a41a60f4b8bb0404b52e24caa5a280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 29 Feb 2012 15:09:47 +0100 Subject: [PATCH] Factor out title generating --- html/base.html | 4 ++-- html/title.html | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 html/title.html diff --git a/html/base.html b/html/base.html index 29ce6cf39..822711447 100644 --- a/html/base.html +++ b/html/base.html @@ -8,7 +8,7 @@ - {% if title %}{{ title }}{% else %}{{ fallbacktitle }}{% endif %} + {% include "title.html" %} {% if description %} {% endif %} @@ -26,7 +26,7 @@ -

{% if title %}{{ title }}{% else %}{{ fallbacktitle }}{% endif %}

+

{% include "title.html" %}