From bb95308cda581589de07a6f4bb761672d1242c94 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Fri, 12 Oct 2018 23:11:40 +0200 Subject: [PATCH] Move links to a dedicated template --- sigal/themes/colorbox/templates/base.html | 10 +--------- sigal/themes/default/templates/links.html | 9 +++++++++ sigal/themes/galleria/templates/album_list.html | 1 - sigal/themes/galleria/templates/base.html | 10 +--------- sigal/themes/photoswipe/static/styles.css | 6 +++--- sigal/themes/photoswipe/templates/album_list.html | 10 +--------- 6 files changed, 15 insertions(+), 31 deletions(-) create mode 100644 sigal/themes/default/templates/links.html diff --git a/sigal/themes/colorbox/templates/base.html b/sigal/themes/colorbox/templates/base.html index 9225115..ba0483c 100644 --- a/sigal/themes/colorbox/templates/base.html +++ b/sigal/themes/colorbox/templates/base.html @@ -27,15 +27,7 @@ {{ index_title }} {% endif %} - {% if settings.links %} - - {% endif %} + {% include 'links.html' %} {% include 'footer.html' %} diff --git a/sigal/themes/default/templates/links.html b/sigal/themes/default/templates/links.html new file mode 100644 index 0000000..9da5285 --- /dev/null +++ b/sigal/themes/default/templates/links.html @@ -0,0 +1,9 @@ +{% if settings.links %} + +{% endif %} diff --git a/sigal/themes/galleria/templates/album_list.html b/sigal/themes/galleria/templates/album_list.html index 22cdbd5..8cc7d8c 100644 --- a/sigal/themes/galleria/templates/album_list.html +++ b/sigal/themes/galleria/templates/album_list.html @@ -15,7 +15,6 @@ {% block content %}
-