From d10dd01cdcb07c69123ef75936f8a64b12b034ef Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 24 May 2023 14:47:11 +0200 Subject: [PATCH] Toevoegen van page-not-found (404) pagina en verwijzing naar zoekmachine --- content/404.md | 10 ++++++++++ themes/nluug/layouts/404.html | 14 -------------- themes/nluug/layouts/custom/customized-404.html | 11 +++++++++++ 3 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 content/404.md delete mode 100644 themes/nluug/layouts/404.html create mode 100644 themes/nluug/layouts/custom/customized-404.html diff --git a/content/404.md b/content/404.md new file mode 100644 index 0000000..eff44df --- /dev/null +++ b/content/404.md @@ -0,0 +1,10 @@ +--- +title: "Pagina niet gevonden" +noindex: true +layout: customized-404 +slug: 404 +type: custom +--- + +Deze pagina kan niet gevonden worden. Bent u doorverwezen vanaf een andere pagina, dan [horen]({{< relref "contact/" >}}) we dit graag. + diff --git a/themes/nluug/layouts/404.html b/themes/nluug/layouts/404.html deleted file mode 100644 index adbbe23..0000000 --- a/themes/nluug/layouts/404.html +++ /dev/null @@ -1,14 +0,0 @@ - - - {{ partial "head.html" . }} - - -
-
- {{ partial "header.html" . }} -

The page you requested doesn't exist.

-
-
- - - diff --git a/themes/nluug/layouts/custom/customized-404.html b/themes/nluug/layouts/custom/customized-404.html new file mode 100644 index 0000000..8343e32 --- /dev/null +++ b/themes/nluug/layouts/custom/customized-404.html @@ -0,0 +1,11 @@ +{{ define "main" }} + +
{{ .Content }}
+ +

Suggesties

+ +

Op zoek naar een bepaalde pagina of informatie? De onderstaande zoekfunctie weet het hopelijk wel te vinden:

+ +{{ partial "search-form.html" . }} + +{{ end }}