aboutsummaryrefslogtreecommitdiff
path: root/htmx/base.html
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
commitbd5a00c61b355c857b5c99323592ca432dea5d0a (patch)
tree7e8ac7730527c1ad71e3fdac85840948fd23f45f /htmx/base.html
parentc71b37eb23d4c8af7ab983de34c6da5be9363f3a (diff)
downloadpaste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.gz
paste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.xz
wip
Diffstat (limited to 'htmx/base.html')
-rw-r--r--htmx/base.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/htmx/base.html b/htmx/base.html
new file mode 100644
index 0000000..c02e2c6
--- /dev/null
+++ b/htmx/base.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+
+ <link id="maincss" rel="stylesheet" href="/static/pico.min.css" defer>
+ <title>{{block "title" .}}Pastebin{{end}}</title>
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="white" />
+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
+
+</head>
+<body>
+<div class="container">
+<nav>
+ {{block "nav" . }}
+ <ul>
+ <li>
+ <a href="/">Home</a>
+ </li>
+ </ul>
+ <ul>
+ <li>
+ <a href="/login">Login</a> |
+ </li>
+ </ul>
+ {{end}}
+</nav>
+
+<div class="main">
+{{block "main" .}}
+{{end}}
+</div>
+
+</div>
+<script src="/static/htmx.min.js"></script>
+</body>
+