blog/root/.errors/404.gohtml

18 lines
393 B
Plaintext
Raw Normal View History

{{ define "title" }}Not Found{{ end }}
{{ define "content" }}
<h1>404 Not Found</h1>
{{ .Message }}
2017-12-23 22:48:47 +00:00
{{ if .CurrentUser.Admin }}
<p>
<strong>Admin:</strong> create a
<a href="/admin/editor?file={{ .Request.URL.Path }}.md">Markdown</a>
or
<a href="/admin/editor?file={{ .Request.URL.Path }}.gohtml">HTML</a>
page here.
</p>
{{ end }}
{{ end }}