feat(): add a custom 404 page
This commit is contained in:
parent
e1615aa043
commit
e933c24aca
|
@ -6,6 +6,5 @@ A theme for [Hugo](https://gohugo.io/), inspired by Atom editor.
|
|||
|
||||
This repo is a work in progress, there is still work to do, contributions are welcome !
|
||||
|
||||
- Add custom 404.html
|
||||
- Support for code highlighting
|
||||
- Conventional CHANGELOG.md
|
||||
|
|
|
@ -3,3 +3,5 @@ tags: Tags
|
|||
categories: Categories
|
||||
datepublished: Published
|
||||
root: Root
|
||||
gotoroot: Go to root
|
||||
notfoundmsg: Sorry, page not found ... :(
|
|
@ -3,3 +3,5 @@ tags: Tags
|
|||
categories: Catégories
|
||||
datepublished: Publié le
|
||||
root: Racine
|
||||
gotoroot: Aller à la racine
|
||||
notfoundmsg: Désolé, cette page n'a pas été trouvée ... :(
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{{ partial "top.html" . }}
|
||||
<p>{{ ( index $.Site.Data.translations $.Site.Params.locale ).notfoundmsg }}</p>
|
||||
<p><a href="/">{{ ( index $.Site.Data.translations $.Site.Params.locale ).gotoroot }}</a></p>
|
||||
{{ partial "bottom.html" . }}
|
Loading…
Reference in New Issue