aboutsummaryrefslogtreecommitdiff
path: root/htmx/base.html
blob: 68aae76a3a24111c24c009edaf1cfacd338c8bef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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>