From 321024f22fffd03456cc8ebb13197744f81c29d1 Mon Sep 17 00:00:00 2001 From: casual Date: Tue, 3 Sep 2024 22:31:36 +0300 Subject: [PATCH] test custom 404 --- content/hidden/TODO.md | 10 ---- template.md | 4 +- themes/anubis2/layouts/404.html | 99 ++++++++++++++++++++++++++++++--- 3 files changed, 95 insertions(+), 18 deletions(-) delete mode 100644 content/hidden/TODO.md diff --git a/content/hidden/TODO.md b/content/hidden/TODO.md deleted file mode 100644 index 107a977..0000000 --- a/content/hidden/TODO.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "I forgot to make post" -hidden: true ---- - -Hi! Sorry but link doesn't exist yet. - -It may be still in work or not posted yet. - -If this link doesn't work for 1+ weeks, please contact me! diff --git a/template.md b/template.md index 855d2af..77a4aa0 100644 --- a/template.md +++ b/template.md @@ -1,8 +1,10 @@ +++ title = 'HowTo DO SOMETHING -date = 2024-05-03 +date = 2024-08-03 +++ + + I forgot to write summary ![](./img/10.png) diff --git a/themes/anubis2/layouts/404.html b/themes/anubis2/layouts/404.html index 4ad6603..f2a1334 100644 --- a/themes/anubis2/layouts/404.html +++ b/themes/anubis2/layouts/404.html @@ -1,8 +1,93 @@ {{ define "main"}} -
-
-

Go Home

- Sorry, this Page is not available. -
-
-{{ end }} \ No newline at end of file +
+ + + +
+
+
+

Error 404

+ +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+

Hi! Sorry but link doesn’t exist yet.

+

+ +

It may be still in work or not posted yet.

+

If this link doesn’t work for 1+ weeks, please contact me!

+ + + + + + +
+ +
+ + + + + + +
+ +{{ end }}