From 20241d192a0cc867a57ae4567a6587151d4b671d Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 10 Dec 2022 22:47:39 +0800 Subject: [PATCH] feat: add 404 page --- config.toml | 2 + layouts/404.html | 266 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 268 insertions(+) create mode 100644 layouts/404.html diff --git a/config.toml b/config.toml index 55a3bc0..d3b3d51 100644 --- a/config.toml +++ b/config.toml @@ -7,6 +7,8 @@ theme = "hello-friend" paginate = 10 enableRobotsTXT = true +# init theme sub module by this command +# git submodule update --init --recursive [markup.goldmark.renderer] unsafe = true #避免MarkDown内嵌的HTML被优化掉,尤其是Typora缩放过的图片 diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..120c7c8 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,266 @@ + + + + + + + 404 + + + + +
+
+
4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
4
+
+ +

Oops. The page you're looking for doesn't exist.

+ Back To Colin's Blog +
+
+ Illustration by Masoud Ardestani +
+ + + + + \ No newline at end of file