added examples, documentation improvement
This commit is contained in:
parent
ad48429fa3
commit
2bc1e6fa73
2 changed files with 19 additions and 0 deletions
8
examples/gallery.md
Normal file
8
examples/gallery.md
Normal 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. -->
|
11
examples/siglican_gallery.html
Normal file
11
examples/siglican_gallery.html
Normal 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 %}
|
Loading…
Reference in a new issue