diff --git a/prosopopee/themes/light/templates/base.html b/prosopopee/themes/light/templates/base.html index 3f11aa9..22b8f8e 100644 --- a/prosopopee/themes/light/templates/base.html +++ b/prosopopee/themes/light/templates/base.html @@ -4,9 +4,9 @@ {% block css %} {% endblock %} - {% if settings.rss -%} + {% if settings.rss %} - {% endif -%} + {% endif %} {{ settings.title }} @@ -18,11 +18,11 @@ {% block logo %} {% endblock %}

{{ settings.title }}

- {% if settings.sub_title -%}

{{ settings.sub_title }}

{% endif -%} + {% if settings.sub_title %}

{{ settings.sub_title }}

{% endif %}
- {% if settings.menu -%} + {% if settings.menu %} {% include 'menu.html' %} - {% endif -%} + {% endif %} diff --git a/prosopopee/themes/light/templates/feed.xml b/prosopopee/themes/light/templates/feed.xml index 0d685fe..ba5b2dd 100644 --- a/prosopopee/themes/light/templates/feed.xml +++ b/prosopopee/themes/light/templates/feed.xml @@ -7,14 +7,14 @@ {% for gallery in galleries %} - {% set absolute_url = settings.url + "/" + gallery.link -%} + {% set absolute_url = settings.url + "/" + gallery.link %} {{ gallery.title }} {{ absolute_url }} {{ gallery.link }} - {% if gallery.sub_title -%} + {% if gallery.sub_title %} {{ gallery.sub_title }} - {% endif -%} + {% endif %} {{ gallery.date }} {% endfor %} diff --git a/prosopopee/themes/light/templates/footer.html b/prosopopee/themes/light/templates/footer.html index 96451fe..a50cdbd 100644 --- a/prosopopee/themes/light/templates/footer.html +++ b/prosopopee/themes/light/templates/footer.html @@ -1,9 +1,9 @@ {% if settings.licence is not defined %} -{% set licence_url = 'https://creativecommons.org/licenses/by-sa/3.0/' -%} -{% set licence_name = 'CC-BY-SA' -%} +{% set licence_url = 'https://creativecommons.org/licenses/by-sa/3.0/' %} +{% set licence_name = 'CC-BY-SA' %} {% else %} -{% set licence_url = settings.licence.url -%} -{% set licence_name = settings.licence.name -%} +{% set licence_url = settings.licence.url %} +{% set licence_name = settings.licence.name %} {% endif %}