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

1 {namespace coleslaw.theme.readable}
2 
3 {template base}
4 <!DOCTYPE html>{\n}
5 <html lang="{$config.lang}">
6   <head>
7     <meta http-equiv="Content-Type" content="text/html; charset={$config.charset}">
8     <title>{$config.title}</title>
9     <meta name="viewport" content="width=device-width, initial-scale=1.0">
10     <link href="{$config.domain}/css/bootstrap.min.css" rel="stylesheet" media="screen">
11     <link href="{$config.domain}/css/custom.css" rel="stylesheet" media="screen">
12     <link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
13     {if $injections.head}
14       {foreach $injection in $injections.head}
15         {$injection |noAutoescape}
16       {/foreach}
17     {/if}
18   </head>
19   <body>
20     <div class="container-fluid">
21       <div class="row-fluid">
22         <div class="offset2 span8">
23           <div class="row-fluid">
24             <div class="navbar navbar-inverse">
25               <div class="navbar-inner">
26                 <a class="brand" href="{$config.domain}">{$config.title}</a>
27                 <ul class="nav">
28                   {foreach $link in $config.sitenav}
29                   <li>
30                     {if $link.relative}
31                       <a href="{$config.domain}/{$link.url}">{$link.name}</a>
32                     {else}
33                       <a href="{$link.url}">{$link.name}</a>
34                     {/if}
35                   </li>
36                   {/foreach}
37                 </ul>
38               </div>
39             </div>
40           </div>  
41 
42           <div class="row-fluid">
43             {$raw |noAutoescape}
44           </div>
45 
46           {if $injections.body}
47             {foreach $injection in $injections.body}
48               <div class="row-fluid">
49                 {$injection |noAutoescape}
50               </div>
51             {/foreach}
52           {/if}
53 
54           <div class="row-fluid">
55             <hr>
56             <p class="fineprint">Unless otherwise credited all material
57             {if $config.license}
58               {$config.license}
59             {else}
60               <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
61                <img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/img/cc-by-sa.png" />
62               </a>
63             {/if}
64             by {$config.author}
65             <a id="coleslaw-logo" href="https://github.com/redline6561/coleslaw">
66               <img src="{$config.domain}/img/logo_small.jpg" alt="Coleslaw logo" /></p>
67             </a>
68           </div>
69         </div>
70       </div>
71     </div>
72 
73     <script src="{$config.domain}/js/bootstrap.min.js"></script>
74   </body>
75 </html>
76 {/template}