32 lines
799 B
Cheetah
32 lines
799 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}/{$obj.url}">{$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.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}
|
|
<a href="{$config.domain}/{$month.url}">{$month.name}</a>{nil}
|
|
{if not isLast($month)},{sp}{/if}
|
|
{/foreach}
|
|
</p>
|
|
</div>
|
|
{/if}
|
|
{/template}
|