From 2f348bf95198648018641a690841f87808db092c Mon Sep 17 00:00:00 2001 From: Lukas Vacek Date: Sun, 16 Aug 2020 20:54:10 +0800 Subject: [PATCH] photoswip_notitle - do not show album titles if photoswipe_notitle --- sigal/themes/photoswipe/templates/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sigal/themes/photoswipe/templates/base.html b/sigal/themes/photoswipe/templates/base.html index 5b353f7..4fcc734 100644 --- a/sigal/themes/photoswipe/templates/base.html +++ b/sigal/themes/photoswipe/templates/base.html @@ -27,7 +27,9 @@ {% include 'links.html' %}
- {% include 'breadcrumb.html' %} + {% if not album.settings.get('photoswipe_notitle', False) -%} + {% include 'breadcrumb.html' %} + {%- endif %} {% block content %}{% endblock %} {% if album.description %}