coleslaw/themes/hyde/post.tmpl
Brit Butler 3ee8f43325 Remove dead code in PAGE-URL.
We partially support 'pretty URLs'. They can be achieved by setting
:page-ext in the *config* to "/" and configuring the web server to
ignore html extensions.
2014-04-08 16:59:56 -04:00

23 lines
771 B
Cheetah

{namespace coleslaw.theme.hyde}
{template post}
<div class="article-meta">{\n}
<h1 class="title">{$post.title}</h1>{\n}
<div class="tags">{\n}
Tagged as {foreach $tag in $post.tags}
<a href="../tag/{$tag.slug}{$config.pageExt}">{$tag.name}</a>{nil}
{if not isLast($tag)},{sp}{/if}
{/foreach}
</div>{\n}
<div class="date">{\n}
Written on {$post.date}
</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}/posts/{$prev.slug}{$config.pageExt}">Previous</a><br> {/if}{\n}
{if $next} <a href="{$config.domain}/posts/{$next.slug}{$config.pageExt}">Next</a><br> {/if}{\n}
</div>{\n}
{/template}