pre-wrap default template, t0sig-style form and entries
This commit is contained in:
parent
f88476604d
commit
d751eb62a9
2 changed files with 71 additions and 20 deletions
33
templates/default.html
Normal file
33
templates/default.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue