From bb47b40b4ccf367c8b86804aae77883f3747e4aa Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sun, 4 Dec 2022 17:02:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20=E6=8E=A8=E8=8D=90=E4=B8=93=E6=A0=8F?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 3 +++ templates/modules/widgets/banner-group.html | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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 @@
From 6ba4b1dd878edd205a7006026a1e4daa9a60b85e Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sun, 4 Dec 2022 17:02:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=20=E6=8E=A8=E8=8D=90=E4=B8=93=E6=A0=8F?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- theme.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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