From a29f7b235648f76ed26c2d99629b56283fddc12d Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 21 Apr 2015 12:38:44 +0200 Subject: better title handling --- pyaggr3g470r/templates/layout.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index fba29ae3..1be20f35 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -6,7 +6,7 @@ - pyAggr3g470r{% if head_title %} - {{ head_title }}{% endif %} + pyAggr3g470r{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} @@ -26,7 +26,12 @@ pyAggr3g470r - {% if head_title %} - {{ head_title }}{% endif %} + {% if head_titles %} + {% for head_title in head_titles %} + - + {{ head_title }} + {% endfor %} + {% endif %} -- cgit