provided better doc on how to run colorbox for #4

This commit is contained in:
Scott Boone (github signing key) 2015-09-02 18:47:54 -05:00
parent f1d798bace
commit fa006ab3a4
2 changed files with 20 additions and 0 deletions

View file

@ -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.

View file

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block content %}
<h2>albums</h2>
<hr>
<div class="row">
{% for aname,album in ROOT_ALBUMS.iteritems() %}
{% if loop.last %}
<div class="four columns end" style="text-align:right;">
{% else %}
<div class="four columns" style="text-align:right;">
{% endif %}
<a href="{{ SITEURL }}/{{ SIGLICAN_DESTINATION }}/{{ album.url }}"><img src="{{ SITEURL }}/{{ SIGLICAN_DESTINATION }}/{{ album.thu
mbnail }}"><br>{{ aname }}</a><p>
</div>
{% endfor %}
</div>
{% endblock %}