[^] upd: Update 404

This commit is contained in:
Zhai2333 2019-08-28 15:37:08 +08:00
parent fda8cb9d20
commit 1d9856db28
No known key found for this signature in database
GPG Key ID: A177A74655220398
4 changed files with 4 additions and 10 deletions

View File

@ -94,6 +94,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"

View File

@ -1,4 +0,0 @@
[404-text]
other = "404 Not Found."
[404-link]
other = "Go Back"

View File

@ -1,4 +0,0 @@
[404-text]
other = "文件找不到了。"
[404-link]
other = "返回"

View File

@ -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" }}&nbsp;</a> <a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }}&nbsp;</a>
</div> </div>
</div> </div>