404!
+ +
+ {{ .Site.Params.missingContentMessage }}
+ {{ .Site.Params.missingBackButtonLabel }} → +
+
++ {{ .Site.Params.missingBackButtonLabel }} → +
diff --git a/README.md b/README.md index d86448a..3480791 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,8 @@ paginate = 5 menuMore = "Show more" readMore = "Read more" readOtherPosts = "Read other posts" + missingContentMessage = "Page not found." + missingBackButtonLabel = "Go Back" [languages.en.params.logo] logoText = "Terminal" diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..d69471a --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,11 @@ +{{ define "main" }} +