123456789101112131415161718192021222324252627282930313233 |
- {namespace coleslaw.theme.readable}
- {template index}
- <h1 class="page-header">{$index.title}</h1>
- {foreach $post in $index.posts}
- <div class="row-fluid">
- <h1><a href="{$config.domain}/posts/{$post.slug}{$config.pageExt}">{$post.title}</a></h1>
- <p class="date-posted">posted on {$post.date}</p>
- {$post.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 posts 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}
|