summaryrefslogtreecommitdiffstats
path: root/templates/layout.gohtml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-10-30 10:04:02 +0100
committerColin Wilk <colin@wilk.cx>2026-10-30 10:07:43 +0100
commitb03b00869391cd70ef1e40561f72dffbd2f47b29 (patch)
treefd1941854bea58ec464b81ac8b0d8627cbed2e74 /templates/layout.gohtml
downloadcr-web-b03b00869391cd70ef1e40561f72dffbd2f47b29.tar.gz
cr-web-b03b00869391cd70ef1e40561f72dffbd2f47b29.zip
Initial Commit
Diffstat (limited to 'templates/layout.gohtml')
-rw-r--r--templates/layout.gohtml17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/layout.gohtml b/templates/layout.gohtml
new file mode 100644
index 0000000..cf6d839
--- /dev/null
+++ b/templates/layout.gohtml
@@ -0,0 +1,17 @@
+{{define "header"}}<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{.Title}}</title>
+ <link rel="stylesheet" href="/assets/styles.css">
+</head>
+<body>
+<main>
+{{end}}
+
+{{define "footer"}}
+</main>
+</body>
+</html>
+{{end}}