
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.
21 lines
706 B
Cheetah
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}">← Previous</a></li>{/if}{\n}
|
|
{if $next}<li class="next"><a href="{$config.domain}/posts/{$next.slug}{$config.pageExt}">Next →</a></li>{/if}{\n}
|
|
</ul>
|
|
</div>{\n}
|
|
{/template}
|