diff options
author | Clemens Lutz <lutzcle@cml.li> | 2016-06-03 10:52:27 +0200 |
---|---|---|
committer | Clemens Lutz <lutzcle@cml.li> | 2016-06-06 11:07:37 +0200 |
commit | 8f822122851f0c6796aeb5df638dbf0c91a2d9e7 (patch) | |
tree | 49908c58f769dbe414398d1a8f1938723b01ab95 /pelican-bootstrap3/templates/page.html | |
parent | ccb8efc064dff0cc24fe715d8f83e33e061c64de (diff) | |
download | pelican-themes-8f822122851f0c6796aeb5df638dbf0c91a2d9e7.tar.gz |
pelican-bootstrap3: Don't print page title HTML tags if title is empty
Diffstat (limited to 'pelican-bootstrap3/templates/page.html')
-rw-r--r-- | pelican-bootstrap3/templates/page.html | 2 |
1 files changed, 2 insertions, 0 deletions
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 %} <section id="content" class="body"> + {% if page.title %} <h1 class="entry-title">{{ page.title }}</h1> + {% endif %} {% import 'includes/translations.html' as translations with context %} {{ translations.translations_for(page) }} {% if PDF_PROCESSOR %} |