mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 18:59:40 +08:00
移除主题 友链页面-标题 设置项,改为由 链接 插件配置,徐更新 链接插件 >= 1.4.0
This commit is contained in:
parent
230ab35e5d
commit
1b5fba8cc1
@ -990,11 +990,6 @@ spec:
|
||||
- group: page_config
|
||||
label: '页面设置'
|
||||
formSchema:
|
||||
- $formkit: text
|
||||
name: links_title
|
||||
label: 友链页面-标题
|
||||
placeholder: '请输入友链页面的标题名称'
|
||||
help: '填写友链页面的标题名称,留空时显示“友链”。'
|
||||
- $formkit: attachment
|
||||
name: links_thumbnail
|
||||
label: 友链页面-封面图
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<th:block xmlns:th="https://www.thymeleaf.org"
|
||||
th:insert="~{common/layout :: layout (title = ${#strings.defaultString(theme.config.page_config.links_title, '友链')} + ' - ' + ${site.title}, canonical = @{/links}, content = ~{::content}, isPost = false)}"
|
||||
th:insert="~{common/layout :: layout (title = ${#strings.defaultString(linksTitle, '友链')} + ' - ' + ${site.title}, canonical = @{/links}, content = ~{::content}, isPost = false)}"
|
||||
th:with="baseEnableComment = ${!#strings.isEmpty(theme.config.page_config.link_comment_id) && theme.config.page_config.link_enable_comment}">
|
||||
<th:block th:fragment="content"
|
||||
th:with="defaultAvatar = ${#strings.defaultString(theme.config.page_config.links_default_avatar, #theme.assets('/img/avatar.svg'))}">
|
||||
@ -8,7 +8,7 @@
|
||||
<div th:if="${!#strings.isEmpty(theme.config.page_config.links_thumbnail)}" class="card-image cover-image" th:style="'background-image: url(' + ${theme.config.page_config.links_thumbnail} + ')'">
|
||||
</div>
|
||||
<div class="card-content main">
|
||||
<h1 class="title" th:text="${#strings.defaultString(theme.config.page_config.links_title, '友链')} + ' - ' + ${contributor.displayName} + '的小伙伴们'"></h1>
|
||||
<h1 class="title" th:text="${#strings.defaultString(linksTitle, '友链')} + ' - ' + ${contributor.displayName} + '的小伙伴们'"></h1>
|
||||
<div class="main-content">
|
||||
<th:block th:each="group : ${groups}">
|
||||
<div th:if="${!#lists.isEmpty(group.links)}" class="links">
|
||||
|
@ -30,7 +30,7 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 0.0.0.12
|
||||
version: 0.0.0.13
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.12.0"
|
||||
# 许可
|
||||
|
Loading…
x
Reference in New Issue
Block a user