diff --git a/docs/changelog.rst b/docs/changelog.rst index 78babe3..956c41e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,7 +8,6 @@ Changelog * Add youtube section https://prosopopee.readthedocs.org/en/latest/sections.html#youtube by beudbeud * Add quotes section https://prosopopee.readthedocs.org/en/latest/sections.html#quote by beudbeud * Add deploy and preview option https://prosopopee.readthedocs.io/en/latest/build.html#preview by beudbeud - * Load only css and jss if the section is used by beudbeud 0.4 (2016-12-11) diff --git a/prosopopee/themes/exposure/templates/gallery-index.html b/prosopopee/themes/exposure/templates/gallery-index.html index dafd57d..ae75a7d 100644 --- a/prosopopee/themes/exposure/templates/gallery-index.html +++ b/prosopopee/themes/exposure/templates/gallery-index.html @@ -1,10 +1,3 @@ -{% for section in gallery.sections %} -{% if section.type == 'panorama' %} -{% set panorama = true %} -{% elif section.type == 'audio'%} -{% set audio = true %} -{% endif %} -{% endfor %} @@ -13,11 +6,8 @@ - {% if panorama %} - {% elif audio %} - {% endif %} {% if gallery.description %} @@ -48,19 +38,15 @@ - {% if panorama %} - {% elif audio %} - - {% endif %} + - {% if panorama %} - {% elif audio %} - {% endif %}