Added templating
This commit is contained in:
7
views/index.html
Normal file
7
views/index.html
Normal file
@ -0,0 +1,7 @@
|
||||
{{ template "layout" . }}
|
||||
|
||||
{{ define "title" }}Dashboard{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<p>This is a test.</p>
|
||||
{{ end }}
|
Reference in New Issue
Block a user