2023-02-18 10:49:05 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="[% settings.charset %]">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
|
|
|
<title>[% settings.appname %] - [% title %]</title>
|
|
|
|
<link rel="stylesheet" href="[% request.uri_base %]/css/style.css">
|
|
|
|
</head>
|
|
|
|
<body class="bg-default fg-default flex-c-vertical">
|
2023-02-18 14:51:17 +01:00
|
|
|
<header>
|
2023-02-19 18:01:55 +01:00
|
|
|
<nav class="viewport flex-c-horizontal main-nav-link-gap">
|
|
|
|
<a class="main-nav-link" href="[% uris.root %]">[% settings.appname %]</a>
|
|
|
|
<a class="main-nav-link" href="[% uris.random %]">random</a>
|
|
|
|
<a class="main-nav-link" href="[% uris.tags %]">tags</a>
|
2023-02-18 10:49:05 +01:00
|
|
|
<span class="flex-i-fullsize"><!-- spacer --></span>
|
2023-02-19 18:01:55 +01:00
|
|
|
<a class="main-nav-link" href="[% uris.login %]">login</a>
|
2023-02-18 10:49:05 +01:00
|
|
|
</nav>
|
|
|
|
</header>
|
2023-02-19 18:01:55 +01:00
|
|
|
<main class="border-bottom border-top border-accent flex-i-fullsize flex-c-vertical">
|
|
|
|
<div class="viewport flex-i-fullsize flex-c-vertical">
|
2023-02-19 21:22:29 +01:00
|
|
|
[% UNLESS no_title %]
|
2023-02-19 18:01:55 +01:00
|
|
|
<h1>[% title %]</h1>
|
2023-02-19 21:22:29 +01:00
|
|
|
[% END %]
|
2023-02-19 21:22:22 +01:00
|
|
|
<div class="viewport flex-i-fullsize">[% content %]</div>
|
2023-02-19 18:01:55 +01:00
|
|
|
[% IF pager %]
|
|
|
|
<footer>
|
|
|
|
<nav class="text-center">
|
|
|
|
[% IF pager.first -%]
|
|
|
|
<a href="[% pager.first %]"><<</a>
|
|
|
|
[% END -%]
|
|
|
|
[% IF pager.prev -%]
|
|
|
|
<a href="[% pager.prev %]"><</a>
|
|
|
|
[% END -%]
|
|
|
|
<span>[% pager.cur %]</span>
|
|
|
|
[% IF pager.next -%]
|
|
|
|
<a href="[% pager.next %]">></a>
|
|
|
|
[% END -%]
|
|
|
|
[% IF pager.last -%]
|
|
|
|
<a href="[% pager.last %]">>></a>
|
|
|
|
[% END -%]
|
|
|
|
</nav>
|
|
|
|
</footer>
|
|
|
|
[% END %]
|
|
|
|
</div>
|
2023-02-18 10:49:05 +01:00
|
|
|
</main>
|
|
|
|
<footer class="text-center">
|
2023-02-19 18:01:55 +01:00
|
|
|
<p class="viewport text-small">Powered by <a href="https://www.openbsd.org">OpenBSD</a> and <a href="https://perldancer.org/">Dancer2</a></p>
|
2023-02-18 10:49:05 +01:00
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|