site header template; site links to tos, privacy, faq, and this repo

This commit is contained in:
2026-11-12 20:24:36 -05:00
parent 490f010999
commit 59c156f6ac
5 changed files with 35 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
{{define "site-header"}}
<div class="site-header">
<h1>minibin</h1>
<div>
<a href="/tos">tos</a>
<a href="/privacy">privacy</a>
<a href="/faq">faq</a>
<a href="https://git.whoswhip.dev/whoswhip/minibin">src</a>
</div>
</div>
{{end}}
+1 -1
View File
@@ -7,8 +7,8 @@
<link rel="stylesheet" href="/css/main.css" />
</head>
<body>
{{template "site-header"}}
<main>
<h1>minibin</h1>
<p>simple file and paste hosting service</p>
<div class="upload-tabs">
<input type="radio" name="upload-type" id="type-file" checked />