diff options
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> |