diff options
-rw-r--r-- | i18n/en.toml | 3 | ||||
-rw-r--r-- | i18n/es.toml | 3 | ||||
-rw-r--r-- | layouts/404.html | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 0265788..7b9c38a 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -24,3 +24,6 @@ [navLinks] other = "Navigation Links" + +[pageNotFound] + other = "Page Not Found" diff --git a/i18n/es.toml b/i18n/es.toml index 21889d7..781f115 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -25,3 +25,6 @@ [navLinks] other = "Enlaces de navegación" + +[pageNotFound] + other = "Página no encontrada" diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..f3b9742 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,8 @@ +{{ define "main" -}} +<nav> + <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p> +</nav> +<main> + <h1 id="404">{{ i18n "pageNotFound" }}</h1> +</main> +{{- end }} |