blob: 02a16e67f659e9a49f705fcb3c21648620765d18 (
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
28
29
30
31
32
33
34
35
36
37
38
|
{namespace coleslaw.theme.oni}
{template post}
<article>
<header>
{if $post.tags}
<ul class="tags">
{foreach $tag in $post.tags}
<li><a href="{$config.domain}/{$tag.url}">{$tag.name}</a></li>
{/foreach}
</ul>
{/if}
<h1>{$post.title}</h1>
{if $post.date}
<small>Published on: <time>{$post.date}</time></small>
{/if}
</header>
<div class="article-content">
{$post.text|noAutoescape}
</div>
</article>
<nav id="page-navigation">
<ul>
{if $prev}
<li class="prev">
<a href="{$config.domain}/{$prev.url}">Previous</a>
</li>
{/if}
{if $next}
<li class="next">
<a href="{$config.domain}/{$next.url}">Next</a>
</li>
{/if}
</ul>
<div class="clear"></div>
</nav>
{/template}
|