From 9c4aa6654bd67532637aabc3fe622aac80a84218 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 18 Sep 2024 09:48:35 +0200 Subject: [PATCH 1/2] add 404 page --- themes/openrail/layouts/404.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 themes/openrail/layouts/404.html diff --git a/themes/openrail/layouts/404.html b/themes/openrail/layouts/404.html new file mode 100644 index 0000000..818311a --- /dev/null +++ b/themes/openrail/layouts/404.html @@ -0,0 +1,25 @@ + + + +{{ partial "head" . }} + + + + +
+ {{ partial "nav" site.Data.nav }} +
+
+

Page Not Found

+

The page you requested cannot be found. This should not have happened.

+

Please feel free to contact us about broken links.

+
+
+ {{ partial "footer" site.Data.footer }} +
+ + {{ partial "scripts" . }} + + + + From 69e2ce065206a87b1104bf55c5af8ed0fa242702 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 18 Sep 2024 09:51:49 +0200 Subject: [PATCH 2/2] do not minify HTML --- .github/workflows/hugo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 125d2a2..91454b5 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -39,7 +39,7 @@ jobs: extended: true - name: Build - run: hugo --minify + run: hugo - name: Upload artifact uses: actions/upload-pages-artifact@v2