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/base.tmpl (2033 bytes)

1 {namespace coleslaw.theme.hyde}
2 
3 {template base}
4 <!doctype html>{\n}
5 <html lang="{$config.lang}">
6   <head>
7     <title>{$config.title}</title>
8     <meta http-equiv="content-type" content="text/html;" charset="{$config.charset}" />
9     <meta name="viewport" content="width=device-width, initial-scale=1">
10     <link href="//fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
11     <link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
12     <link href= "{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
13     <link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
14     {if $injections.head}
15       {foreach $injection in $injections.head}
16         {$injection |noAutoescape}
17       {/foreach}
18     {/if}
19   </head>
20   <body>
21     <div class="navigation">
22       <a href="{$config.domain}">{$config.title}</a> |
23       {foreach $link in $config.sitenav}
24         {if $link.relative}
25           <a href="{$config.domain}/{$link.url}">{$link.name}</a>
26         {else}
27           <a href="{$link.url}">{$link.name}</a>
28         {/if}
29         {if not isLast($link)} {sp}|{sp} {/if}
30       {/foreach}
31     </div>
32     <div id="content">
33       {$raw |noAutoescape}
34     </div>
35     {if $injections.body}
36       {foreach $injection in $injections.body}
37         {$injection |noAutoescape}
38       {/foreach}
39     {/if}
40     <div class="fineprint">
41       <hr>
42       Unless otherwise credited all material
43       {if $config.license}
44         {$config.license}
45       {else}
46         <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
47           <img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-sa.png" />
48         </a>
49       {/if}
50       by {$config.author}
51       <a id="coleslaw-logo" href="https://github.com/redline6561/coleslaw">
52         <img src="{$config.domain}/css/logo_small.jpg" alt="Coleslaw logo" />
53       </a>
54     </div>
55   </body>
56 </html>
57 {/template}