coleslaw/themes/readable/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

21 lines
706 B
Cheetah

{namespace coleslaw.theme.readable}
{template post}
<div class="row-fluid">{\n}
<h1 class="page-header">{$post.title}</h1>{\n}
<p>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}
</p>
<p class="date-posted">Written on {$post.date}</p>
{$post.text |noAutoescape}
<ul class="pager">
{if $prev}<li class="previous"><a href="{$config.domain}/posts/{$prev.slug}{$config.pageExt}">&larr; Previous</a></li>{/if}{\n}
{if $next}<li class="next"><a href="{$config.domain}/posts/{$next.slug}{$config.pageExt}">Next &rarr;</a></li>{/if}{\n}
</ul>
</div>{\n}
{/template}