diff --git a/settings.yaml b/settings.yaml index fe5b99d8..8ae88451 100644 --- a/settings.yaml +++ b/settings.yaml @@ -17,6 +17,28 @@ spec: label: 标题 placeholder: 请输入标题 help: 支持 HTML 语法,比如 Hao,默认为站点名称 + - group: top + label: 顶部 + formSchema: + - $formkit: radio + name: content_header + label: 首页顶部 + value: true + options: + - label: 显示 + value: true + - label: 隐藏 + value: false + - $formkit: text + name: banners_title_big + label: Banners 大标题 + placeholder: 请输入大标题 + help: 支持 HTML 语法 + - $formkit: text + name: banners_title_small + label: Banners 小标题 + placeholder: 请输入小标题 + help: 支持 HTML 语法 - group: layout label: 布局 formSchema: diff --git a/templates/index.html b/templates/index.html index d11ca405..307da2e2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -278,7 +278,7 @@
-
+
diff --git a/templates/modules/recent-top.html b/templates/modules/recent-top.html new file mode 100644 index 00000000..f1e98fe2 --- /dev/null +++ b/templates/modules/recent-top.html @@ -0,0 +1,14 @@ + + + +
+
+ +
+ +
+ +
+
+ + \ No newline at end of file diff --git a/templates/modules/top-post.html b/templates/modules/top-post.html deleted file mode 100644 index 557a868d..00000000 --- a/templates/modules/top-post.html +++ /dev/null @@ -1,307 +0,0 @@ - - - -
-
-
-
-
-
分享设计
-
与科技生活
-
ZHHEO.COM
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
- -
- -
-
- - \ No newline at end of file diff --git a/templates/modules/widgets/banner-group.html b/templates/modules/widgets/banner-group.html new file mode 100644 index 00000000..7a20df88 --- /dev/null +++ b/templates/modules/widgets/banner-group.html @@ -0,0 +1,203 @@ + + +
+ + +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + + +
+ \ No newline at end of file diff --git a/templates/modules/widgets/top-group.html b/templates/modules/widgets/top-group.html new file mode 100644 index 00000000..d6d3ccda --- /dev/null +++ b/templates/modules/widgets/top-group.html @@ -0,0 +1,108 @@ + + + + + \ No newline at end of file