coleslaw/themes/readable/index.tmpl

39 lines
1 KiB
Cheetah
Raw Normal View History

{namespace coleslaw.theme.readable}
{template index}
<h1 class="page-header">{$index.title}</h1>
{foreach $obj in $index.content}
<div class="row-fluid">
2014-08-27 14:08:48 -04:00
<h1><a href="{$config.domain}/{$obj.url}">{$obj.title}</a></h1>
<p class="date-posted">posted on {$obj.date}</p>
{$obj.text |noAutoescape}
</div>
{/foreach}
<div id="relative-nav">
<ul class="pager">
{if $prev} <li class="previous"><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>
{if $tags}
<div class="row-fluid">
<p>This blog covers
{foreach $tag in $tags}
2014-08-27 14:08:48 -04:00
<a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
{if not isLast($tag)},{sp}{/if}
{/foreach}
</p>
</div>
{/if}
{if $months}
<div class="row-fluid">
<p>View content from
{foreach $month in $months}
2014-08-27 14:08:48 -04:00
<a href="{$config.domain}/{$month.url}">{$month.name}</a>{nil}
{if not isLast($month)},{sp}{/if}
{/foreach}
</p>
</div>
{/if}
{/template}