mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 18:59:40 +08:00
新增:适配瞬间标签显示
This commit is contained in:
parent
70333b511b
commit
2b99f567de
@ -1074,16 +1074,6 @@ spec:
|
||||
label: 开启
|
||||
- value: false
|
||||
label: 关闭
|
||||
- $formkit: radio
|
||||
name: enable_journals_tag
|
||||
label: 瞬间页面-开启标签显示
|
||||
value: false
|
||||
help: '瞬间存在标签时,开启后会显示,反之不显示。发布瞬间时使用“#xxx”添加标签。'
|
||||
options:
|
||||
- value: true
|
||||
label: 开启
|
||||
- value: false
|
||||
label: 关闭
|
||||
- $formkit: number
|
||||
name: journals_fold_height
|
||||
label: 瞬间页面-动态内容折叠
|
||||
|
@ -4,7 +4,7 @@
|
||||
th:with="isJournals = true, enableShare = ${theme.config.page_config.enable_journals_share}, baseEnableComment = ${theme.config.page_config.enable_journals_comment}"
|
||||
xmlns:th="https://www.thymeleaf.org">
|
||||
<th:block th:fragment="content">
|
||||
<div class="card card-content journal" th:if="${!#lists.isEmpty(tags) && theme.config.page_config.enable_journals_tag}">
|
||||
<div class="card card-content journal" th:if="${!#lists.isEmpty(tags)}">
|
||||
<div class="card-tab">
|
||||
<div>
|
||||
[[${#strings.replace(title, ' - ' + site.title, '')}]]
|
||||
|
@ -22,6 +22,6 @@ spec:
|
||||
settingName: theme-dream-setting
|
||||
configMapName: theme-dream-configMap
|
||||
# 版本号
|
||||
version: 1.0.3.28
|
||||
version: 1.0.3.29
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.6.0"
|
Loading…
x
Reference in New Issue
Block a user