Skip to content

Commit

Permalink
Merge pull request #18 from liuzhihang/dev
Browse files Browse the repository at this point in the history
fix 推荐专栏不能使用
  • Loading branch information
liuzhihang authored Dec 4, 2022
2 parents 02cf268 + 6ba4b1d commit 47a3e48
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "halo-theme-hao",
"version": "1.0.0",
"version": "1.0.1",
"dependencies": {
}
}
3 changes: 3 additions & 0 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions templates/modules/widgets/banner-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,19 @@
<div class="categoryGroup">
<div class="categoryItem" style="box-shadow:var(--heo-shadow-blue)">
<a class="categoryButton CB1 bikan"
th:href="@{${#strings.isEmpty(theme.config.top.bikan)? theme.config.top.bikan : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.bikan}}">
<span class="categoryButtonText">必看精选</span><i class="iconfont icon-book"></i>
</a>
</div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-red)">
<a class="categoryButton remen"
th:href="@{${#strings.isEmpty(theme.config.top.remen)? theme.config.top.remen : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.remen}}">
<span class="categoryButtonText">热门文章</span><i class="iconfont icon-burn"></i>
</a>
</div>
<div class="categoryItem" style="box-shadow:var(--heo-shadow-green)">
<a class="categoryButton shiyong"
th:href="@{${#strings.isEmpty(theme.config.top.shiyong)? theme.config.top.shiyong : 'javascript:void(0);'}}">
th:href="@{${theme.config.top.shiyong}}">
<span class="categoryButtonText">实用教程</span><i class="iconfont icon-book"></i>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 47a3e48

Please sign in to comment.