Use Go templates for HTML

This commit is contained in:
Joakim Hellsén 2024-02-03 17:47:58 +01:00
commit 51fb9df8b3
14 changed files with 220 additions and 255 deletions

4
templates/api.tmpl Normal file
View file

@ -0,0 +1,4 @@
{{ define "content" }}
<h2>API documentation</h2>
<p>Here be dragons.</p>
{{ end }}