diff --git a/settings.yaml b/settings.yaml index cc628ed3..a8ea9968 100644 --- a/settings.yaml +++ b/settings.yaml @@ -2660,17 +2660,28 @@ spec: name: error_404 label: 404 页面 value: - subtitle: - background: + subtitle: 请尝试站内搜索寻找文章 + background: /themes/theme-hao/assets/images/404s.gif + children: + - $formkit: text + name: subtitle + label: 标题 + - $formkit: attachment + name: background + label: 背景 + - $formkit: group + name: error_500 + label: 500 页面 + value: + subtitle: 服务器内部出现错误,请查看日志 + background: /themes/theme-hao/assets/images/404s.gif children: - $formkit: text name: subtitle label: 标题 - value: 请尝试站内搜索寻找文章 - $formkit: attachment name: background label: 背景 - value: /themes/theme-hao/assets/images/404s.gif - $formkit: radio name: bubbleEnable label: 页面卡片顶部气泡升起效果 diff --git a/templates/error/500.html b/templates/error/500.html new file mode 100644 index 00000000..70703139 --- /dev/null +++ b/templates/error/500.html @@ -0,0 +1,55 @@ + + + + + +
+
+ + +
+ +
+
+
+
+
+
+

500

+
[[${theme.config.other.error_500.subtitle}]]
+ 回到主页 +
+
+
+ + +
+ +
+ +
+ + +
+
+ + \ No newline at end of file