From d771616c57c24bb4fc619e2501e64d2f37af255c Mon Sep 17 00:00:00 2001 From: Sebastian Pech Date: Thu, 3 Oct 2019 10:55:36 +0200 Subject: 404 Page not found --- i18n/de.toml | 6 ++++++ i18n/en.toml | 6 ++++++ layouts/404.html | 27 +++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/i18n/de.toml b/i18n/de.toml index dc886fe..80507ad 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -23,6 +23,12 @@ other = "Theme von" [madeby] other = "Erstellt mit" +[error404] +other = "Es tut uns wirklich leid aber hier scheint es nichts zu geben." + +[gotohome] +other = "Gehe zur Startseite" + # Taxonomoy title hack [Categories] other = "Kategorien" diff --git a/i18n/en.toml b/i18n/en.toml index dca9209..97b700b 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -23,6 +23,12 @@ other = "Theme by" [madeby] other = "Made by" +[error404] +other = "We are really sorry but there seems to be nothing here." + +[gotohome] +other = "Go to Homepage" + # Taxonomoy title hack [Categories] other = "Categories" diff --git a/layouts/404.html b/layouts/404.html index e69de29..3649192 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -0,0 +1,27 @@ + + + + {{- partial "seo_schema" . -}} + {{ block "title" . }}{{ .Site.Title }}{{ end }} + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+
+
+
+ +
+
+
+
+ {{- partial "footer.html" . -}} + {{- partial "js.html" . -}} + + -- cgit v1.2.3