mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +03:00
commit
cf990015dd
2 changed files with 13 additions and 0 deletions
|
@ -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"
|
||||
|
|
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…
Add table
Reference in a new issue