add debug option to skip PNG rendering
This commit is contained in:
parent
8e5077e9be
commit
2cf7675588
4 changed files with 35 additions and 3 deletions
12
views/layout.eta
Normal file
12
views/layout.eta
Normal 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 %>
|
|
@ -1,3 +1,4 @@
|
|||
<% layout('layout') %>
|
||||
<div class="main">
|
||||
<div class="contents">
|
||||
<div class="info">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue