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 From 28dae178166ae78c3eae2b2ce37a4eab340be468 Mon Sep 17 00:00:00 2001 From: Clemens Lutz Date: Fri, 3 Jun 2016 10:35:14 +0200 Subject: pelican-bootstrap3: Hide archives link in navigation bar while ARCHIVES_SAVE_AS is empty. Replace HIDE_ARCHIVE variable with hiding while archiving is not enabled Revert README --- pelican-bootstrap3/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index 610d050..8757f1a 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -144,7 +144,9 @@ {% endif %} + {% if ARCHIVES_SAVE_AS %}
  • Archives
  • + {% endif %} -- cgit v1.1 From 77af0b69c30fe5c23e72b3ec0a1e362c140968f0 Mon Sep 17 00:00:00 2001 From: Clemens Lutz Date: Tue, 7 Jun 2016 18:08:36 +0200 Subject: pelican-bootstrap3: Display navbar-toggle button only if pages exist and DISPLAY_PAGES_ON_MENU is enabled or categories exist and DISPLAY_CATEGORIES_ON_MENU is enabled. --- pelican-bootstrap3/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index 8757f1a..1ad6611 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -105,12 +105,14 @@