33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
|
<title><%= join(" - ", "Pooru", title() // ()) %></title>
|
|
<%= stylesheet "/css/style.css" %>
|
|
</head>
|
|
<body class="bg-default fg-default flex-c-vertical">
|
|
<header>
|
|
<nav class="viewport flex-c-horizontal main-nav">
|
|
<%= link_to "Pooru~" => "/" %>
|
|
<%= link_to "random" => "/random" %>
|
|
<%= link_to "tags" => "/tags" %>
|
|
<span class="flex-i-fullsize"><!-- spacer --></span>
|
|
<%= link_to login => "/login" %>
|
|
</nav>
|
|
</header>
|
|
<main class="flex-i-fullsize flex-c-vertical">
|
|
<div class="viewport flex-i-fullsize flex-c-vertical">
|
|
% if (defined title) {
|
|
<h1><%= title %></h1>
|
|
% }
|
|
<div class="flex-i-fullsize"><%= content %></div>
|
|
<%= include '_pager' %>
|
|
</div>
|
|
</main>
|
|
<footer class="border-top">
|
|
<p class="viewport text-center text-small">Powered by <a href="https://www.openbsd.org">OpenBSD</a> and <a href="https://www.perl.org/">Perl</a>.</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|