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

7
pages/404-general.tmpl Normal file
View File

@@ -0,0 +1,7 @@
{{define "head"}}<title>Page not found &mdash; {{.SiteName}}</title>{{end}}
{{define "content"}}
<div class="error-page">
<p class="msg">This page is missing.</p>
<p>Are you sure it was ever here?</p>
</div>
{{end}}