diff options
author | Samrat Man Singh <samratmansingh@gmail.com> | 2012-07-07 08:31:08 +0545 |
---|---|---|
committer | Samrat Man Singh <samratmansingh@gmail.com> | 2012-07-07 08:31:08 +0545 |
commit | 2ce26b4ed17e153d9834e6dd21ec0da92d71139e (patch) | |
tree | 9b59308831e99ed534f28aac51b5b236ac54ce87 /syte/static/templates/blog-post-photo.html | |
parent | 705357519b7345422a003d8970d1f396579d91b2 (diff) | |
download | pelican-themes-2ce26b4ed17e153d9834e6dd21ec0da92d71139e.tar.gz |
Move syte-pelican to 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> |