provided better doc on how to run colorbox for #4
This commit is contained in:
parent
f1d798bace
commit
fa006ab3a4
2 changed files with 20 additions and 0 deletions
3
examples/themes/colorbox/templates/README
Normal file
3
examples/themes/colorbox/templates/README
Normal 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.
|
17
examples/themes/colorbox/templates/siglican_gallery.html
Normal file
17
examples/themes/colorbox/templates/siglican_gallery.html
Normal 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 %}
|
Loading…
Reference in a new issue