summaryrefslogtreecommitdiffstats
path: root/themes/oni/base.tmpl
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-02-14 22:05:01 +0100
committerGravatar Tom Willemse2016-02-14 22:05:01 +0100
commit038fe3bbe38b14c04f669c1de95eac0924fe4696 (patch)
tree55c443eff0c8f059938cdd0dcdc402a76a51706d /themes/oni/base.tmpl
parentbf19350f7bbb2157dd050648c5b189dbd7a23067 (diff)
downloadblog-038fe3bbe38b14c04f669c1de95eac0924fe4696.tar.gz
blog-038fe3bbe38b14c04f669c1de95eac0924fe4696.zip
Add theme
Diffstat (limited to 'themes/oni/base.tmpl')
-rw-r--r--themes/oni/base.tmpl61
1 files changed, 61 insertions, 0 deletions
diff --git a/themes/oni/base.tmpl b/themes/oni/base.tmpl
new file mode 100644
index 0000000..b3dbf11
--- /dev/null
+++ b/themes/oni/base.tmpl
@@ -0,0 +1,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 href="http://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" type="text/css" />
+ <link rel="stylesheet" media="screen" href="{$config.domain}/css/fonts/fantasque-sans-mono/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}