aboutsummaryrefslogtreecommitdiff
path: root/src/ui/templates/base.tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/templates/base.tmpl.html')
-rw-r--r--src/ui/templates/base.tmpl.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/templates/base.tmpl.html b/src/ui/templates/base.tmpl.html
new file mode 100644
index 0000000..a080925
--- /dev/null
+++ b/src/ui/templates/base.tmpl.html
@@ -0,0 +1,14 @@
+{{define "base"}}
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>{{template "title" .}} | newsstand.nyc</title>
+ <link rel="stylesheet" href="https://unpkg.com/@blaze/css@x.x.x/dist/blaze/blaze.css">
+ <script src="https://unpkg.com/htmx.org@1.9.9" integrity="sha384-QFjmbokDn2DjBjq+fM+8LUIVrAgqcNW2s0PjAxHETgRn9l4fvX31ZxDxvwQnyMOX" crossorigin="anonymous"></script>
+</head>
+<body>
+ {{template "messages" .}}
+ {{template "main" .}}
+</body>
+</html>
+{{end}}