diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2024-01-23 06:33:20 -0500 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2024-01-23 06:33:20 -0500 |
| commit | 8d92bdf7da95e1085485c0e60b9dac19c246e235 (patch) | |
| tree | 5c346f8bdb10b3b8084a3b9e95c727f7fa3914be /src/ui/templates/base.tmpl.html | |
| parent | 8510c36ded85740885e67b59ee2ec2360986c0a9 (diff) | |
move ui templates into src, update conf to handle other paths, export User Insert Hooks
Diffstat (limited to 'src/ui/templates/base.tmpl.html')
| -rw-r--r-- | src/ui/templates/base.tmpl.html | 14 |
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}} |
