+{{define "head"}}<title>Page not found — {{.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}}
diff --git a/pages/404.tmpl b/pages/404.tmpl
new file mode 100644
index 0000000..b103e27
--- /dev/null
+++ b/pages/404.tmpl
@@ -0,0 +1,10 @@
+{{define "head"}}<title>Post not found — {{.SiteName}}</title>{{end}}
+{{define "content"}}
+ <div class="error-page" style="max-width:30em">
+ <p class="msg">Post not found.</p>
+ {{if and (not .SingleUser) .OpenRegistration}}
+ <p class="commentary" style="margin-top:2.5em">Why not share a thought of your own?</p>
+ <p><a href="/">Start a blog</a> and spread your ideas on <strong>{{.SiteName}}</strong>, a simple{{if .Federation}}, federated{{end}} blogging community.</p>