瞬间界面支持隐藏标签栏

This commit is contained in:
mjsoftware 2024-12-16 15:29:42 +08:00
parent a3e4e826be
commit d8bd2d8f64
3 changed files with 11 additions and 2 deletions

View File

@ -1144,6 +1144,15 @@ spec:
label: 开启 label: 开启
- value: false - value: false
label: 关闭 label: 关闭
- $formkit: radio
name: enable_journals_tags
label: 瞬间页面-开启标签栏
value: true
options:
- value: true
label: 开启
- value: false
label: 关闭
- $formkit: number - $formkit: number
name: journals_fold_height name: journals_fold_height
label: 瞬间页面-动态内容折叠 label: 瞬间页面-动态内容折叠

View File

@ -4,7 +4,7 @@
th:with="isJournals = true, enableShare = ${theme.config.page_config.enable_journals_share}, baseEnableComment = ${theme.config.page_config.enable_journals_comment}" 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"> xmlns:th="https://www.thymeleaf.org">
<th:block th:fragment="content"> <th:block th:fragment="content">
<div class="card card-content journal" th:if="${!#lists.isEmpty(tags)}"> <div class="card card-content journal" th:if="${!#lists.isEmpty(tags) && theme.config.page_config.enable_journals_tags}">
<div class="card-tab"> <div class="card-tab">
<div> <div>
[[${#strings.replace(title, ' - ' + site.title, '')}]] [[${#strings.replace(title, ' - ' + site.title, '')}]]

View File

@ -30,7 +30,7 @@ spec:
settingName: theme-dream2-plus-setting settingName: theme-dream2-plus-setting
configMapName: theme-dream2-plus-configMap configMapName: theme-dream2-plus-configMap
# 版本号 # 版本号
version: 1.3.3.beta3 version: 1.3.3.beta4
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.20.0" require: ">=2.20.0"
# 许可 # 许可