added examples, documentation improvement

This commit is contained in:
sawall 2014-10-03 09:03:43 -05:00
parent ad48429fa3
commit 2bc1e6fa73
2 changed files with 19 additions and 0 deletions

8
examples/gallery.md Normal file
View file

@ -0,0 +1,8 @@
Title: gallery
Date: 2014-07-13 00:00
Modified: 2014-07-13
Slug: gallery-page
Authors: Scott Boone
template: siglican_gallery
<!-- This goes in your Pelican input pages directory. -->

View file

@ -0,0 +1,11 @@
<!-- This goes in your Pelican theme directory. -->
{% extends "base.html" %}
{% block content %}
<h2>albums</h2>
<ul>
{% for aname,album in ALBUMS.iteritems() %}
<li>{{ aname }}<a href="{{ SITEURL }}/{{ SIGLICAN_DESTINATION }}/{{ album.url }}"><img src="{{ SITEURL }}/{{ SIGLICAN_DESTINATION }}/{{ album.thumbnail }}"></a>
{% endfor %}
</ul>
{% endblock %}