feat(): add a custom 404 page

This commit is contained in:
kendo5731 2016-02-06 16:58:34 +01:00
parent e1615aa043
commit e933c24aca
4 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -2,4 +2,6 @@ mostrecentposts: Most recent posts
tags: Tags
categories: Categories
datepublished: Published
root: Root
root: Root
gotoroot: Go to root
notfoundmsg: Sorry, page not found ... :(

View File

@ -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 ... :(

View File

@ -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" . }}