first version of the new website
[markerbeacon.git] / themes / markerbeacon / templates / gallery.html
diff --git a/themes/markerbeacon/templates/gallery.html b/themes/markerbeacon/templates/gallery.html
new file mode 100644 (file)
index 0000000..0af22ba
--- /dev/null
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+{% block html_lang %}{{ page.lang }}{% endblock %}
+{% block title %}{{ page.title }}{% endblock %}
+
+{% block extra_head %}
+{% import 'translations.html' as translations with context %}
+{% if translations.entry_hreflang(page) %}
+  {{ translations.entry_hreflang(page) }}
+{% endif %}
+{% endblock %}
+
+{% block content %}
+<section id="content" class="body">
+    <h1 class="entry-title">{{ page.title }}</h1>
+    {% import 'translations.html' as translations with context %}
+    {{ translations.translations_for(page) }}
+    {{ page.content }}
+
+{% for album, images in page.gallery.items() %}
+    {% for image in images %}
+    <a class="{{ album }} cboxElement" href="{{ SITEURL }}/images/gallery/{{album}}/{{ image }}"
+          title="{{ image }}">
+       <img src="{{ SITEURL }}/thumbnails/thumbnail_square/gallery/{{album}}/{{ image }}"></a>
+    {% endfor %}
+{% endfor %}
+
+</section>
+{% endblock %}