404!
+ +
+ {{ i18n "404-text" }}
+ {{ i18n "404-link" }} → +
+
++ {{ i18n "404-link" }} → +
diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..64aebda --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,4 @@ +[404-text] +other = "404 Not Found." +[404-link] +other = "Go Back" \ No newline at end of file diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml new file mode 100644 index 0000000..d2f6e30 --- /dev/null +++ b/i18n/zh-CN.toml @@ -0,0 +1,4 @@ +[404-text] +other = "文件找不到了。" +[404-link] +other = "返回" \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..5a41a14 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,11 @@ +{{ define "main" }} +