+ {% include 'breadcrumb.html' %} {% if album.breadcrumb %} -

- {% for url, title in album.breadcrumb %} - {{ title }}{% if not loop.last %} » {% endif %} - {% endfor -%} -


{% endif %}
diff --git a/sigal/themes/default/templates/breadcrumb.html b/sigal/themes/default/templates/breadcrumb.html new file mode 100644 index 0000000..b7c0396 --- /dev/null +++ b/sigal/themes/default/templates/breadcrumb.html @@ -0,0 +1,9 @@ +{% if album.breadcrumb %} + +{% endif %} diff --git a/sigal/themes/galleria/templates/base.html b/sigal/themes/galleria/templates/base.html index 391400d..05a970b 100644 --- a/sigal/themes/galleria/templates/base.html +++ b/sigal/themes/galleria/templates/base.html @@ -22,13 +22,8 @@

{{ index_title }}

{% include 'links.html' %} + {% include 'breadcrumb.html' %} {% if album.breadcrumb %} -

- {%- for url, title in album.breadcrumb -%} - {{ title }} - {%- if not loop.last %} » {% endif -%} - {% endfor -%} -


{% endif %} diff --git a/sigal/themes/photoswipe/templates/base.html b/sigal/themes/photoswipe/templates/base.html index 0763ad3..ce556f4 100644 --- a/sigal/themes/photoswipe/templates/base.html +++ b/sigal/themes/photoswipe/templates/base.html @@ -20,16 +20,7 @@ {% include 'links.html' %}
- {% if album.breadcrumb %} - - {% endif %} - + {% include 'breadcrumb.html' %} {% block content %}{% endblock %} {% if album.description %}