Add handler, page, template loading
This commit is contained in:
7
pages/410.tmpl
Normal file
7
pages/410.tmpl
Normal file
@@ -0,0 +1,7 @@
|
||||
{{define "head"}}<title>Unpublished — {{.SiteName}}</title>{{end}}
|
||||
{{define "content"}}
|
||||
<div class="error-page">
|
||||
<p class="msg">{{if .Content}}{{.Content}}{{else}}Post was unpublished by the author.{{end}}</p>
|
||||
<p class="commentary">It might be back some day.</p>
|
||||
</div>
|
||||
{{end}}
|
Reference in New Issue
Block a user