[^] upd: Update 404
This commit is contained in:
parent
1a47dec920
commit
11074eeb07
@ -114,6 +114,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"
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
[404-text]
|
|
||||||
other = "404 Not Found."
|
|
||||||
[404-link]
|
|
||||||
other = "Go Back"
|
|
@ -1,4 +0,0 @@
|
|||||||
[404-text]
|
|
||||||
other = "文件找不到了。"
|
|
||||||
[404-link]
|
|
||||||
other = "返回"
|
|
@ -3,8 +3,8 @@
|
|||||||
<h1 class="post-title">404!</h1>
|
<h1 class="post-title">404!</h1>
|
||||||
|
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{ i18n "404-text" }}<br>
|
{{ .Site.Params.missingContentMessage }}<br>
|
||||||
<a href="{{ "/" | absURL }}">{{ i18n "404-link" }} →</a>
|
<a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }} →</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user