aboutsummaryrefslogtreecommitdiffstats
path: root/syte-pelican/static/templates/blog-post-photo.html
blob: 42e4ff625bec92e1e80cc29af970e9673cc80af0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>