commit
cf990015dd
@ -116,6 +116,8 @@ paginate = 5
|
|||||||
menuMore = "Show more"
|
menuMore = "Show more"
|
||||||
readMore = "Read more"
|
readMore = "Read more"
|
||||||
readOtherPosts = "Read other posts"
|
readOtherPosts = "Read other posts"
|
||||||
|
missingContentMessage = "Page not found."
|
||||||
|
missingBackButtonLabel = "Go Back"
|
||||||
|
|
||||||
[languages.en.params.logo]
|
[languages.en.params.logo]
|
||||||
logoText = "Terminal"
|
logoText = "Terminal"
|
||||||
|
11
layouts/404.html
Normal file
11
layouts/404.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<div class="post">
|
||||||
|
<h1 class="post-title">404!</h1>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
{{ .Site.Params.missingContentMessage }}<br>
|
||||||
|
<a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }} →</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user