website/themes/default/base.tmpl

64 lines
2.1 KiB
Cheetah
Raw Normal View History

2024-04-25 04:08:07 +00:00
{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="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en">
<img alt="Creative Commons License" style="border-width:0" src="{$config.domain}/css/cc-by-nc-nd.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>
<a
id="lisp-logo" >
<img src="{$config.domain}/css/lisp-warning.webp" alt="LISP logo" width="100px" />
</a>
</div>
</body>
</html>
{/template}