mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2af363fd90
@ -10,6 +10,7 @@ spec:
|
||||
- $formkit: radio
|
||||
name: enable_copyright
|
||||
label: 开启文章版权声明
|
||||
value: ""
|
||||
help: '当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
@ -21,6 +22,7 @@ spec:
|
||||
- $formkit: select
|
||||
name: thumbnail_mode
|
||||
label: 文章列表缩略图模式
|
||||
value: ""
|
||||
help: '文章在列表的缩略图模式,除网格布局外,当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: default
|
||||
@ -40,11 +42,13 @@ spec:
|
||||
- $formkit: text
|
||||
name: tips
|
||||
label: 文章提示
|
||||
value: ""
|
||||
placeholder: '请输入提示内容'
|
||||
help: '在文章顶部显示一条提示。'
|
||||
- $formkit: radio
|
||||
name: enable_katex
|
||||
label: KaTeX 公式支持
|
||||
value: ""
|
||||
help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
@ -56,7 +60,7 @@ spec:
|
||||
- $formkit: radio
|
||||
name: enable_share
|
||||
label: 开启文章分享
|
||||
value: true
|
||||
value: ""
|
||||
help: '当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
@ -80,7 +84,7 @@ spec:
|
||||
- $formkit: radio
|
||||
name: enable_copyright
|
||||
label: 开启文章版权声明
|
||||
value: true
|
||||
value: ""
|
||||
help: '当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
@ -92,12 +96,13 @@ spec:
|
||||
- $formkit: text
|
||||
name: tips
|
||||
label: 文章提示
|
||||
value: ""
|
||||
placeholder: '请输入提示内容'
|
||||
help: '在文章顶部显示一条提示。'
|
||||
- $formkit: radio
|
||||
name: enable_katex
|
||||
label: KaTeX 公式支持
|
||||
value: false
|
||||
value: ""
|
||||
help: '博客通过 KaTeX 做数学公式渲染,当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
@ -109,7 +114,7 @@ spec:
|
||||
- $formkit: radio
|
||||
name: enable_share
|
||||
label: 开启文章分享
|
||||
value: true
|
||||
value: ""
|
||||
help: '当前配置将覆盖主题中的默认配置。'
|
||||
options:
|
||||
- value: "true"
|
||||
|
@ -14,7 +14,7 @@
|
||||
</ol>
|
||||
</div>
|
||||
</button>
|
||||
<button th:if="${type == 'Post'}" class="agree like" data-id="${(post.id!0)?c}"
|
||||
<button th:if="${type == 'Post'}" class="agree like" th:data-id="${post.metadata.name}"
|
||||
data-likes="${(post.likes!0)?c}">
|
||||
<i class="fa fa-thumbs-o-up"></i>
|
||||
<span>赞<span th:text="${post.stats.upvote}"></span></span>
|
||||
|
@ -68,7 +68,7 @@
|
||||
<th:bolck th:if="${enableCopyright || enableShare}">
|
||||
<hr/>
|
||||
<th:block th:if="${enableCopyright}">
|
||||
<th:block th:replace="~{main/copyright}"></th:block>
|
||||
<th:block th:replace="~{main/copyright}"/>
|
||||
</th:block>
|
||||
<div th:if="${enableShare}" class="dshare"></div>
|
||||
</th:bolck>
|
||||
|
Loading…
x
Reference in New Issue
Block a user