diff --git a/themes/colorbox/templates/album.html b/themes/colorbox/templates/album.html index c6c26e1..9dd5c04 100644 --- a/themes/colorbox/templates/album.html +++ b/themes/colorbox/templates/album.html @@ -1,7 +1,19 @@ {% extends "base.html" %} +{# + A head block must be defined in the Pelican theme's base.html prior to + closing the HTML head tag so that the siglican stylesheets and javascript + can be added. simply adding: + {% block head %}{% endblock %} + just before the head closer is sufficient. +#} + +{% block head %} + {{ super() }} + +{% endblock %} + {% block content %} -
{% if SIGAL_ALBUM.breadcrumb %} diff --git a/themes/colorbox/templates/index.html.bak b/themes/colorbox/templates/index.html.bak deleted file mode 100644 index 6b66965..0000000 --- a/themes/colorbox/templates/index.html.bak +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - {{ album.title }} - - - - - - - - - -
-
- -
- -
-
- {% if album.breadcrumb %} -

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

-
- {% endif %} -
- - {% set numbers = ["zero", "one", "two", "three", "four", "five", "six", - "seven", "eight", "nine", "ten", "eleven", "twelve"] %} - {% set column_size = settings.colorbox_column_size %} - {% set nb_columns = (12 / column_size)|int %} - {% set column_size_t = numbers[column_size] %} - - {% if album.albums %} - {% for alb in album.albums %} - {% if loop.index % nb_columns == 1 %} -
- {% endif%} -
- - {{ alb.name }} - {{ alb.title }} -
- {% if loop.last or loop.index % nb_columns == 0 %} -
- {% endif%} - {% endfor %} - {% endif %} - - {% if album.medias %} - {% macro img_description(media) -%} - {% if media.big %} data-big="{{ media.big }}"{% endif %} - {% if media.exif %} - {% if media.exif.datetime %} - data-date=", {{ media.exif.datetime }}" - {% endif %} - {% endif %} - {%- endmacro %} - - {% endif %} - - {% if album.zip %} - - {% endif %} - - {% if album.description %} -
- {{ album.description }} -
- {% endif %} -
-
- - {% if album.medias %} - - - - - - {% endif %} - {% include 'analytics.html' %} - -