2013-07-20 23:18:01 +02:00
|
|
|
{namespace coleslaw.theme.readable}
|
|
|
|
|
|
|
|
{template index}
|
|
|
|
<h1 class="page-header">{$index.title}</h1>
|
2014-04-15 20:39:13 -04:00
|
|
|
{foreach $obj in $index.content}
|
2013-07-20 23:18:01 +02:00
|
|
|
<div class="row-fluid">
|
2014-08-27 14:08:48 -04:00
|
|
|
<h1><a href="{$config.domain}/{$obj.url}">{$obj.title}</a></h1>
|
2014-04-15 20:39:13 -04:00
|
|
|
<p class="date-posted">posted on {$obj.date}</p>
|
|
|
|
{$obj.text |noAutoescape}
|
2013-07-20 23:18:01 +02:00
|
|
|
</div>
|
|
|
|
{/foreach}
|
2014-09-29 15:53:01 -04:00
|
|
|
<div id="relative-nav">
|
2014-11-03 17:08:50 -05:00
|
|
|
<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>
|
2014-09-29 15:53:01 -04:00
|
|
|
</div>
|
2013-07-20 23:18:01 +02:00
|
|
|
{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}
|
2013-07-20 23:18:01 +02:00
|
|
|
{if not isLast($tag)},{sp}{/if}
|
|
|
|
{/foreach}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
{if $months}
|
|
|
|
<div class="row-fluid">
|
2014-04-15 20:39:13 -04:00
|
|
|
<p>View content from
|
2013-07-20 23:18:01 +02:00
|
|
|
{foreach $month in $months}
|
2014-08-27 14:08:48 -04:00
|
|
|
<a href="{$config.domain}/{$month.url}">{$month.name}</a>{nil}
|
2013-07-20 23:18:01 +02:00
|
|
|
{if not isLast($month)},{sp}{/if}
|
|
|
|
{/foreach}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
{/template}
|