backend: move all header and pager display out of layout

This commit is contained in:
Lucas 2023-03-24 13:58:39 +00:00
parent 1748621469
commit c78bd0c85b
6 changed files with 11 additions and 7 deletions

View file

@ -18,13 +18,7 @@
</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">