Add handler, page, template loading

This commit is contained in:
Matt Baer
2018-11-07 23:50:50 -05:00
parent 3afdd8c1b4
commit a30fc5b52b
9 changed files with 872 additions and 1 deletions

2
pages/blank.tmpl Normal file
View File

@@ -0,0 +1,2 @@
{{define "head"}}<title>{{.Title}} &mdash; {{.SiteName}}</title>{{end}}
{{define "content"}}<div class="content-container">{{.Content}}</div>{{end}}