werc/root/lib/base.html
Sam Therapy f355da34b0
Align it better with newer werc
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-07-26 01:05:18 +02:00

60 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang={{.Config.Lang}}>
<head>
<title>{{.Title}}</title>
<link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen, handheld" title="default">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/_werc/pub/style.css" type="text/css" media="screen" title="default">
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--
% if(! ~ $#meta_description 0)
% echo ' <meta name="description" content="'$"meta_description'">'
% if(! ~ $#meta_keywords 0)
% echo ' <meta name="keywords" content="'$"meta_keywords'">'
% h = `{get_lib_file headers.inc}
% if(! ~ $#h 0)
% cat $h
%($"extraHeaders%)
-->
</head>
<body>
<header>
{{template "topbar.html"}}
<h1><a href="/">{{.Config.Title}}<span id="headerSubTitle">{{.Config.Subtitle}}</span></a></h1>
<!-- <div class="subHeader">
<br> -->
</div>
</header>
<nav id="side-bar">
<div>
{{template "menu.html" .Menu}}
</div>
</nav>
<article>
{{.Content}}
</article>
<!--
% run_handlers $handlers_body_head
% run_handler $handler_body_main
% run_handlers $handlers_body_foot
-->
<footer>
{{template "footer.html"}}
</footer>
</body>
</html>