mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +03:00
[^] upd: Update 404
This commit is contained in:
parent
1a47dec920
commit
11074eeb07
4 changed files with 4 additions and 10 deletions
|
@ -114,6 +114,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"
|
||||
|
|
|
@ -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>
|
||||
|
||||
<div class="post-content">
|
||||
{{ i18n "404-text" }}<br>
|
||||
<a href="{{ "/" | absURL }}">{{ i18n "404-link" }} →</a>
|
||||
{{ .Site.Params.missingContentMessage }}<br>
|
||||
<a href="{{ "/" | absURL }}">{{ .Site.Params.missingBackButtonLabel }} →</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue