diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2012-07-09 07:44:38 -0700 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-07-09 07:44:38 -0700 |
commit | 5c841277a96336f85ce5f5944e92e4ceec2a89f1 (patch) | |
tree | dae04e7396f1f0a3e72d4e4b62545c4030a7193c /syte/static/templates/blog-post-photo.html | |
parent | 8363d9701c4c5ab794977c37c4428455e68db78b (diff) | |
parent | 0727752c19ddf32acd3623ded81131f0a8233079 (diff) | |
download | pelican-themes-5c841277a96336f85ce5f5944e92e4ceec2a89f1.tar.gz |
Merge pull request #42 from samrat/master
Added new theme, syte
Diffstat (limited to 'syte/static/templates/blog-post-photo.html')
-rw-r--r-- | syte/static/templates/blog-post-photo.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/syte/static/templates/blog-post-photo.html b/syte/static/templates/blog-post-photo.html new file mode 100644 index 0000000..42e4ff6 --- /dev/null +++ b/syte/static/templates/blog-post-photo.html @@ -0,0 +1,27 @@ +<article id="{{ id }}"> + <hgroup> + <h2><a href="/post/{{ id }}">Photo</a></h2> + <h3><a href="#{{ id }}">{{ formated_date }}</a></h3> + </hgroup> + {{#each photos}} + {{#with original_size}} + <p><img src="{{url}}" /></p> + {{/with}} + {{#if caption}} + {{{ caption }}} + {{/if}} + {{/each}} + {{#if caption}} + {{{ caption }}} + {{/if}} + {{#if tags }} + <footer> + <h4>Tags</h4> + <ul class="tags"> + {{#each tags}} + <li><a href="/tags/{{ this }}">{{ this }}</a></li> + {{/each}} + </ul> + </footer> + {{/if}} +</article> |