mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 16:39:40 +08:00
chore: 适配
This commit is contained in:
parent
3b63f490fa
commit
df927346b1
@ -13,10 +13,6 @@ spec:
|
|||||||
placeholder: 请输入用户名
|
placeholder: 请输入用户名
|
||||||
value: admin
|
value: admin
|
||||||
help: 后台用户管理中作者的用户名,填写错误将导致个人资料显示异常(示例:admin)
|
help: 后台用户管理中作者的用户名,填写错误将导致个人资料显示异常(示例:admin)
|
||||||
- $formkit: text
|
|
||||||
name: small_title
|
|
||||||
label: 网站副标题
|
|
||||||
placeholder: '请输入网站副标题'
|
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: document_hidden_title
|
name: document_hidden_title
|
||||||
label: 离屏文案(离开)
|
label: 离屏文案(离开)
|
||||||
@ -42,11 +38,6 @@ spec:
|
|||||||
label: '黑暗模式 Logo'
|
label: '黑暗模式 Logo'
|
||||||
placeholder: '请输入/选择 Logo 路径'
|
placeholder: '请输入/选择 Logo 路径'
|
||||||
help: '在黑暗模式时显示的 Logo,放空默认为网站 Logo。'
|
help: '在黑暗模式时显示的 Logo,放空默认为网站 Logo。'
|
||||||
- $formkit: text
|
|
||||||
name: page_number
|
|
||||||
label: 分页页码数量
|
|
||||||
placeholder: '请输入数量数值'
|
|
||||||
value: '5'
|
|
||||||
- $formkit: text
|
- $formkit: text
|
||||||
name: record_number
|
name: record_number
|
||||||
label: 备案号
|
label: 备案号
|
||||||
@ -893,7 +884,7 @@ spec:
|
|||||||
- $formkit: radio
|
- $formkit: radio
|
||||||
name: effects_circle_magic_mode
|
name: effects_circle_magic_mode
|
||||||
label: 上升圆点特效显示模式
|
label: 上升圆点特效显示模式
|
||||||
value: night
|
value: none
|
||||||
options:
|
options:
|
||||||
- value: none
|
- value: none
|
||||||
label: 不显示
|
label: 不显示
|
||||||
|
2
templates/assets/js/dshare.min.js
vendored
2
templates/assets/js/dshare.min.js
vendored
File diff suppressed because one or more lines are too long
@ -16,9 +16,9 @@
|
|||||||
th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}"
|
th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}"
|
||||||
href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"
|
href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"
|
||||||
th:text="${theme.config.basic_info.record_number}"></a><span class="footer-truncation">Powered by <a class="powered" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/nineya/halo-theme-dream" target="_blank">Dream</a></span></p>
|
th:text="${theme.config.basic_info.record_number}"></a><span class="footer-truncation">Powered by <a class="powered" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/nineya/halo-theme-dream" target="_blank">Dream</a></span></p>
|
||||||
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.website_time) && theme.config.basic_info.enable_busuanzi}">
|
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.website_time) || theme.config.enhance.enable_busuanzi}">
|
||||||
<span th:if="${!#strings.isEmpty(theme.config.basic_info.website_time)}" id="websiteDate">建站<span class="stand">00</span>天<span class="stand">0</span>时<span class="stand">0</span>分<span class="stand">0</span>秒</span>
|
<span th:if="${!#strings.isEmpty(theme.config.basic_info.website_time)}" id="websiteDate">建站<span class="stand">00</span>天<span class="stand">0</span>时<span class="stand">0</span>分<span class="stand">0</span>秒</span>
|
||||||
<span th:if="${theme.config.basic_info.enable_busuanzi}" class="icon-spot footer-truncation">
|
<span th:if="${theme.config.enhance.enable_busuanzi}" class="icon-spot footer-truncation">
|
||||||
<span id="busuanzi_container_site_uv" style="display: none">
|
<span id="busuanzi_container_site_uv" style="display: none">
|
||||||
<i class="fa fa-user" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_uv">0</span>访客
|
<i class="fa fa-user" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_uv">0</span>访客
|
||||||
</span>
|
</span>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
||||||
|
th:class="${theme.config.basic_style.theme_style}"
|
||||||
th:fragment="layout (title, canonical, content, isPost)">
|
th:fragment="layout (title, canonical, content, isPost)">
|
||||||
<th:block th:if="${!#strings.equals('',param._pjax)}">
|
<th:block th:if="${!#strings.equals('',param._pjax)}">
|
||||||
<th:block th:replace="~{common/head :: head}"/>
|
<th:block th:replace="~{common/head :: head}"/>
|
||||||
@ -11,7 +12,7 @@
|
|||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:unless="${!#strings.equals('',param._pjax)}"
|
<th:block th:unless="${!#strings.equals('',param._pjax)}"
|
||||||
th:with="stats = ${siteStatsFinder.getStats()},
|
th:with="stats = ${siteStatsFinder.getStats()},
|
||||||
contributor = ${contributorFinder.getContributor(theme.config.sidebar.metadata_name)}">
|
contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}">
|
||||||
<th:block th:replace="~{common/head :: head}"/>
|
<th:block th:replace="~{common/head :: head}"/>
|
||||||
<body>
|
<body>
|
||||||
<th:block th:replace="~{common/navbar}"/>
|
<th:block th:replace="~{common/navbar}"/>
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
<i class="fa fa-volume-up card-title-label"></i><span>公告</span>
|
<i class="fa fa-volume-up card-title-label"></i><span>公告</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div th:text="${#strings.isEmpty(theme.config.sidebar.notice_content)? '<p>  欢迎来访' + site.title + ',博主还没有发布任何公告!</p>' : theme.config.sidebar.notice_content}"></div>
|
<div th:utext="${#strings.isEmpty(theme.config.sidebar.notice_content)? '<p>  欢迎来访' + site.title + ',博主还没有发布任何公告!</p>' : theme.config.sidebar.notice_content}"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
x
Reference in New Issue
Block a user