Template tweak.
This commit is contained in:
parent
35ae75d03a
commit
558a04e696
1 changed files with 11 additions and 12 deletions
|
@ -1,6 +1,17 @@
|
|||
{namespace coleslaw.theme.hyde}
|
||||
|
||||
{template index}
|
||||
{foreach $post in $posts}
|
||||
<div class="article-meta">
|
||||
<a class="article-title" href="{$post.url}">{$post.title}</a>
|
||||
<div class="date"> posted on {$post.date}</div>
|
||||
<div class="article">{$post.contents |noAutoescape}</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
<div id="relative-nav">
|
||||
{if $prev} <a href="{$prev}">Previous</a> {/if}
|
||||
{if $next} <a href="{$next}">Next</a> {/if}
|
||||
</div>
|
||||
{if $taglinks}
|
||||
<div id="tagsoup">
|
||||
<p>This blog covers
|
||||
|
@ -19,16 +30,4 @@
|
|||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
<h1>{$title}</h1>
|
||||
{foreach $post in $posts}
|
||||
<div class="article-meta">
|
||||
<a class="article-title" href="{$post.url}">{$post.title}</a>
|
||||
<div class="date"> posted on {$post.date}</div>
|
||||
<div class="article">{$post.contents |noAutoescape}</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
<div id="relative-nav">
|
||||
{if $prev} <a href="{$prev}">Previous</a> {/if}
|
||||
{if $next} <a href="{$next}">Next</a> {/if}
|
||||
</div>
|
||||
{/template}
|
||||
|
|
Loading…
Add table
Reference in a new issue