pre-wrap default template, t0sig-style form and entries

This commit is contained in:
Lewis Wynne 2026-04-09 16:55:01 +01:00
parent f88476604d
commit d751eb62a9
2 changed files with 71 additions and 20 deletions

33
templates/default.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}</title>
<style>
pre {
font: unset;
max-width: 70ch;
margin: 0 auto;
padding: 1rem;
white-space: pre-wrap;
word-wrap: break-word;
}
</style>
</head>
<body>
<pre>
{{title}}
guestbook
=========
{{form}}
entries
=======
{{entries}}
</pre>
</body>
</html>