summaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorch <chers@localhost>2026-10-20 22:05:50 +1300
committerch <chers@localhost>2026-10-20 22:05:50 +1300
commit67519f2b3d3cec3d64157919f06c488e1979f504 (patch)
tree301c9325544d321aba591a5c6781c19e096badac /templates/page.html
ready to push
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..b117576
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="icon" href="images/favicon.ico">
+ <title>{{ .Title }}</title>
+ <meta name="description" content="{{ .Description }}">
+ <style>
+ body { font-family: Verdana, sans-serif; }
+ td { padding: 0.5em 1.5em; }
+ td:first-child a { white-space: nowrap; }
+ </style>
+ </head>
+ <body>
+ <p>{{ .Title }} | {{ .Description }}</p>
+ <hr>
+ <table>
+ <tr>
+ <td valign="top">
+ {{ range .Sidebar }}
+ <a href="{{ .Path }}">&rsaquo; {{ .Name }}</a><br>
+ {{ end }}
+ </td>
+ <td valign="top">
+ <main>
+ {{ .Content }}
+ </main>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+