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/hyde/post.tmpl (753 bytes)

1 {namespace coleslaw.theme.hyde}
2 
3 {template post}
4 <div class="article-meta">{\n}
5   <h1 class="title">{$post.title}</h1>{\n}
6   <div class="tags">{\n}
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   </div>{\n}
14   <div class="date">{\n}
15     {if $post.date}
16       Written on {$post.date}
17     {/if}
18   </div>{\n}
19 </div>{\n}
20 <div class="article-content">{\n}
21   {$post.text |noAutoescape}
22 </div>{\n}
23 <div class="relative-nav">{\n}
24   {if $prev} <a href="{$config.domain}/{$prev.url}">Previous</a><br> {/if}{\n}
25   {if $next} <a href="{$config.domain}/{$next.url}">Next</a><br> {/if}{\n}
26 </div>{\n}
27 {/template}