summaryrefslogtreecommitdiffstats
path: root/themes/default/base.tmpl
blob: 24303cdf76213036ccb73e5030edcf5caf173bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{namespace coleslaw.theme.hyde}

{template base}
<!doctype html>{\n}
<html lang="{$config.lang}">
  <head>
    <title>{$config.title}</title>
    <meta http-equiv="content-type" content="text/html;" charset="{$config.charset}" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="//fonts.googleapis.com/css?family=Vollkorn:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
    <link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css" />
    <link href= "{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
    <link rel="alternate" href="{$config.domain}/rss.xml" type="application/rss+xml" />
    {if $injections.head}
      {foreach $injection in $injections.head}
        {$injection |noAutoescape}
      {/foreach}
    {/if}
  </head>
  <body>
    <div class="navigation">
      <a href="{$config.domain}">{$config.title}</a> |
      {foreach $link in $config.sitenav}
        {if $link.relative}
          <a href="{$config.domain}/{$link.url}">{$link.name}</a>
        {else}
          <a href="{$link.url}">{$link.name}</a>
        {/if}
        {if not isLast($link)} {sp}|{sp} {/if}
      {/foreach}
    </div>
    <div id="content">
      {$raw |noAutoescape}
    </div>
    {if $injections.body}
      {foreach $injection in $injections.body}
        {$injection |noAutoescape}
      {/foreach}
    {/if}
    <div class="fineprint">
      <hr>
      Unless otherwise credited all material
      {if $config.license}
        {$config.license}
      {else}
        <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
          <img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-sa.png" />
        </a>
      {/if}
      by {$config.author}
      <a id="coleslaw-logo" href="https://github.com/redline6561/coleslaw">
        <img src="{$config.domain}/css/logo_small.jpg" alt="Coleslaw logo" />
      </a>
    </div>
  </body>
</html>
{/template}