coleslaw/themes/readable/index.tmpl
2014-04-15 20:39:13 -04:00

32 lines
861 B
Cheetah

{namespace coleslaw.theme.readable}
{template index}
<h1 class="page-header">{$index.title}</h1>
{foreach $obj in $index.content}
<div class="row-fluid">
<h1><a href="{$config.domain}/posts/{$obj.slug}.{$config.pageExt}">{$obj.title}</a></h1>
<p class="date-posted">posted on {$obj.date}</p>
{$obj.text |noAutoescape}
</div>
{/foreach}
{if $tags}
<div class="row-fluid">
<p>This blog covers
{foreach $tag in $tags}
<a href="{$config.domain}/tag/{$tag.slug}.{$config.pageExt}">{$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}
<a href="{$config.domain}/date/{$month}.{$config.pageExt}">{$month}</a>{nil}
{if not isLast($month)},{sp}{/if}
{/foreach}
</p>
</div>
{/if}
{/template}