blog/root/.errors/404.gohtml

18 lines
393 B
Plaintext

{{ define "title" }}Not Found{{ end }}
{{ define "content" }}
<h1>404 Not Found</h1>
{{ .Message }}
{{ 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 }}