aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/page.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2016-06-11 22:34:23 +0200
committerGitHub <noreply@github.com>2016-06-11 22:34:23 +0200
commit83265b06c516684c6646237f7a0f57b88fd76624 (patch)
tree249f3a925140ed71667e6a653dd7e150cd08919a /pelican-bootstrap3/templates/page.html
parentccb8efc064dff0cc24fe715d8f83e33e061c64de (diff)
parent77af0b69c30fe5c23e72b3ec0a1e362c140968f0 (diff)
downloadpelican-themes-83265b06c516684c6646237f7a0f57b88fd76624.zip
pelican-themes-83265b06c516684c6646237f7a0f57b88fd76624.tar.gz
pelican-themes-83265b06c516684c6646237f7a0f57b88fd76624.tar.bz2
Merge pull request #402 from LutzCle/pelican-bootstrap3-mod
pelican-bootstrap3: hide certain elements if empty
Diffstat (limited to 'pelican-bootstrap3/templates/page.html')
-rw-r--r--pelican-bootstrap3/templates/page.html2
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 %}