Recently Written · git

coleslaw

Emacs mode for the "Coleslaw" site generator written in Common Lisp.

git clone https://github.com/equwal/coleslaw

Log | Files | Refs


themes/readable/post.tmpl (730 bytes)

1 {namespace coleslaw.theme.readable}
2 
3 {template post}
4 <div class="row-fluid">{\n}
5   <h1 class="page-header">{$post.title}</h1>{\n}
6   <p>
7     {if $post.tags}
8       Tagged as {foreach $tag in $post.tags}
9         <a href="{$config.domain}/{$tag.url}">{$tag.name}</a>{nil}
10           {if not isLast($tag)},{sp}{/if}
11       {/foreach}
12     {/if}
13   </p>
14   <p class="date-posted">
15     {if $post.date}
16       Written on {$post.date}
17     {/if}
18   </p>
19 
20   {$post.text |noAutoescape}
21   
22   <ul class="pager">
23     {if $prev}<li class="previous"><a href="{$config.domain}/{$prev.url}">&larr; Previous</a></li>{/if}{\n}
24     {if $next}<li class="next"><a href="{$config.domain}/{$next.url}">Next &rarr;</a></li>{/if}{\n}
25   </ul>
26 </div>{\n}
27 {/template}