From fa006ab3a4ab5cb61decf53cae3216e0d69b5c63 Mon Sep 17 00:00:00 2001 From: "Scott Boone (github signing key)" Date: Wed, 2 Sep 2015 18:47:54 -0500 Subject: [PATCH] provided better doc on how to run colorbox for #4 --- examples/themes/colorbox/templates/README | 3 +++ .../colorbox/templates/siglican_gallery.html | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 examples/themes/colorbox/templates/README create mode 100644 examples/themes/colorbox/templates/siglican_gallery.html diff --git a/examples/themes/colorbox/templates/README b/examples/themes/colorbox/templates/README new file mode 100644 index 0000000..83c8b9c --- /dev/null +++ b/examples/themes/colorbox/templates/README @@ -0,0 +1,3 @@ +To make this play nicely with limited modification, move siglican_gallery.html +to your Pelican template. This will provide an entry point to colorbox which is +driven by album.html here. diff --git a/examples/themes/colorbox/templates/siglican_gallery.html b/examples/themes/colorbox/templates/siglican_gallery.html new file mode 100644 index 0000000..5f035e6 --- /dev/null +++ b/examples/themes/colorbox/templates/siglican_gallery.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block content %} +

albums

+
+
+{% for aname,album in ROOT_ALBUMS.iteritems() %} + {% if loop.last %} +
+ {% else %} +
+ {% endif %} +
{{ aname }}

+

+{% endfor %} +
+{% endblock %}