diff options
Diffstat (limited to 'themes/oni/base.tmpl')
-rw-r--r-- | themes/oni/base.tmpl | 61 |
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λ∈slaw</a> + </footer> + </body> + </html> +{/template} |