change default page to use the wiki templates

This commit is contained in:
magmaus3 2023-08-11 14:25:01 +02:00
parent 8f5087e077
commit a455ca0ac6
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251

View file

@ -0,0 +1,17 @@
{{ define "head" }}
<link rel="stylesheet" href="/syntax_highlighting.css">
{{ end }}
{{ define "main" }}
{{ partial "header.html" }}
<article>
<header>
<h1>{{ .Title }}</h1>
</header>
{{ .Content }}
<footer>
{{ partial "see_also" . }}
{{ partial "categories.html" }}
{{ partial "content_notices.html" . }}
</footer>
</article>
{{ end }}