PoorBooru/views/layouts/main.tt
2023-02-18 09:49:05 +00:00

28 lines
1.1 KiB
Plaintext

<!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">
<header class="border-bottom border-accent">
<nav class="viewport flex-c-horizontal nav-link-gap">
<a class="nav-link" href="[% uris.root %]">[% settings.appname %]</a>
<a class="nav-link" href="[% uris.random %]">random</a>
<a class="nav-link" href="[% uris.tags %]">tags</a>
<span class="flex-i-fullsize"><!-- spacer --></span>
<a class="nav-link" href="[% uris.login %]">login</a>
</nav>
</header>
<!--<main class="viewport flex-i-fullsize flex-c-vertical flex-c-center">-->
<main class="viewport flex-i-fullsize">
[% content -%]
</main>
<footer class="text-center">
<p class="viewport">Powered by <a href="https://www.openbsd.org">OpenBSD</a> and <a href="https://perldancer.org/">Dancer2</a></p>
</footer>
</body>
</html>