diff --git a/package.json b/package.json index bb1ea155..c88fd396 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "halo-theme-hao", - "version": "1.0.0", + "version": "1.0.1", "dependencies": { } } diff --git a/settings.yaml b/settings.yaml index b903333b..d4773a5d 100644 --- a/settings.yaml +++ b/settings.yaml @@ -88,17 +88,20 @@ spec: label: 必看精选 placeholder: 请输入地址 validation: "url" + value: "/" - $formkit: url if: "$get(recentTop).value" name: remen label: 热门文章 placeholder: 请输入地址 + value: "/" validation: "url" - $formkit: url if: "$get(recentTop).value" name: shiyong label: 实用教程 placeholder: 请输入地址 + value: "/" validation: "url" - $formkit: radio if: "$get(recentTop).value" diff --git a/templates/modules/widgets/banner-group.html b/templates/modules/widgets/banner-group.html index f6c4ce42..4e8c4b14 100644 --- a/templates/modules/widgets/banner-group.html +++ b/templates/modules/widgets/banner-group.html @@ -163,19 +163,19 @@
+ th:href="@{${theme.config.top.bikan}}"> 必看精选
+ th:href="@{${theme.config.top.remen}}"> 热门文章
+ th:href="@{${theme.config.top.shiyong}}"> 实用教程
diff --git a/theme.yaml b/theme.yaml index 946a3488..2fd89f70 100644 --- a/theme.yaml +++ b/theme.yaml @@ -13,5 +13,5 @@ spec: repo: 'https://github.com/liuzhihang/halo-theme-hao' settingName: "theme-hao-setting" configMapName: "theme-hao-configMap" - version: 1.0.0 + version: 1.0.1 require: 2.0.0