blog/themes/oni/base.tmpl

61 lines
2.1 KiB
Cheetah
Raw Permalink Normal View History

2016-02-14 22:05:01 +01:00
{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"/>
2016-02-14 23:09:00 +01:00
<link rel="stylesheet" media="screen" href="{$config.domain}/css/fonts/opensans_regular_macroman/stylesheet.css" type="text/css"/>
2016-02-14 22:05:01 +01:00
<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">
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}