summaryrefslogtreecommitdiffstats
path: root/themes/oni/base.tmpl
blob: e39a5598119009169dfd5218cc9ac1286266c57a (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
58
59
60
61
{namespace coleslaw.theme.oni}
{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="initial-scale=1" />
      <link rel="stylesheet" media="screen" href="{$config.domain}/css/fonts/fantasque-sans-mono/stylesheet.css" type="text/css"/>
      <link rel="stylesheet" media="screen" href="{$config.domain}/css/fonts/opensans_regular_macroman/stylesheet.css" type="text/css"/>
      <link href="{$config.domain}/css/style.css" rel="stylesheet" type="text/css" />
      <link href="{$config.domain}/css/org.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>
      <header id="site-header">
        <nav id="site-navigation">
          <a href="{$config.domain}">{$config.title}</a>
          <ul>
            {foreach $link in $config.sitenav}
              <li>
                <a href="{if $link.relative}{$config.domain}/{/if}{$link.url}">{$link.name}</a>
              </li>
            {/foreach}
          </ul>
        </nav>
      </header>

      <div id="content">
        {$raw|noAutoescape}
      </div>

      {if $injections.body}
        {foreach $injection in $injections.body}
          {$injection|noAutoescape}
        {/foreach}
      {/if}

      <footer id="site-footer">
        <hr />
        This site was last updated on <time>{$pubdate}</time>.
        <br />
        Unless otherwise credited all material
        {if $config.license}
          {$config.license}
        {else}
          <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
            <img alt="Creative Commons License" src="{$config.domain}/css/cc-by-sa.png" />
          </a>
        {/if}
        by {$config.author}. Powered
        by <a href="https://github.com/redline6561/coleslaw">c0&lambda;&isin;slaw</a>
      </footer>
    </body>
  </html>
{/template}