add debug option to skip PNG rendering

This commit is contained in:
hazycora 2023-08-02 17:51:06 -05:00
parent 8e5077e9be
commit 2cf7675588
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
4 changed files with 35 additions and 3 deletions

12
views/layout.eta Normal file
View file

@ -0,0 +1,12 @@
<% if (it.debug) { %>
<style>
:root {
font-family: 'Figtree', Arial, Helvetica, sans-serif;
}
* {
font-family: inherit;
}
</style>
<link rel="stylesheet" href="/style.css">
<% } %>
<%~ it.body %>

View file

@ -1,3 +1,4 @@
<% layout('layout') %>
<div class="main">
<div class="contents">
<div class="info">