summaryrefslogtreecommitdiffstats
path: root/themes/default/post.tmpl
blob: f7b81bcf90e1f40995250e66bb7d978b13cede28 (plain)
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
{namespace coleslaw.theme.hyde}

{template post}
<div class="article-meta">{\n}
  <h1 class="title">{$post.title}</h1>{\n}
  <div class="tags">{\n}
    {if $post.tags}
      Tagged as {foreach $tag in $post.tags}
        <a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
          {if not isLast($tag)},{sp}{/if}
      {/foreach}
    {/if}
  </div>{\n}
  <div class="date">{\n}
    {if $post.date}
      Written on {$post.date}
    {/if}
  </div>{\n}
</div>{\n}
<div class="article-content">{\n}
  {$post.text |noAutoescape}
</div>{\n}
<div class="relative-nav">{\n}
  {if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a><br> {/if}{\n}
  {if $next} <a href="{$config.domain}/{$next.url}">Next</a><br> {/if}{\n}
</div>{\n}
{/template}