From 8f822122851f0c6796aeb5df638dbf0c91a2d9e7 Mon Sep 17 00:00:00 2001 From: Clemens Lutz Date: Fri, 3 Jun 2016 10:52:27 +0200 Subject: pelican-bootstrap3: Don't print page title HTML tags if title is empty --- pelican-bootstrap3/templates/page.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican-bootstrap3/templates/page.html b/pelican-bootstrap3/templates/page.html index f8757fa..c4d35ee 100644 --- a/pelican-bootstrap3/templates/page.html +++ b/pelican-bootstrap3/templates/page.html @@ -46,7 +46,9 @@ {% block content %}
+ {% if page.title %}

{{ page.title }}

+ {% endif %} {% import 'includes/translations.html' as translations with context %} {{ translations.translations_for(page) }} {% if PDF_PROCESSOR %} -- cgit v1.1