Added templating

This commit is contained in:
2022-12-07 21:24:11 -05:00
parent a7da12d028
commit 6ebf79e0e0
7 changed files with 74 additions and 4 deletions

7
views/index.html Normal file
View File

@ -0,0 +1,7 @@
{{ template "layout" . }}
{{ define "title" }}Dashboard{{ end }}
{{ define "content" }}
<p>This is a test.</p>
{{ end }}