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

9
pages/500.tmpl Normal file
View File

@@ -0,0 +1,9 @@
{{define "head"}}<title>Server error &mdash; {{.SiteName}}</title>{{end}}
{{define "content"}}
<div class="error-page">
<p class="msg">Server error. &#x1F632; &#x1F635;</p>
<p>The humans have been alerted and reminded of their many shortcomings.</p>
<p style="margin-top:3em">On behalf of them, we apologize.</p>
<p>&ndash; The Write.as Bots</p>
</div>
{{end}}