mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
feat(patch): 去除补丁模式
This commit is contained in:
parent
6e0a72ad93
commit
50596ec29d
@ -974,16 +974,6 @@ spec:
|
|||||||
label: 开启
|
label: 开启
|
||||||
- value: false
|
- value: false
|
||||||
label: 关闭
|
label: 关闭
|
||||||
- $formkit: radio
|
|
||||||
name: enable_patch
|
|
||||||
label: 补丁模式
|
|
||||||
value: true
|
|
||||||
help: '引入补丁脚本,实现对部分异常不更新主题进行 bug 修复!'
|
|
||||||
options:
|
|
||||||
- value: true
|
|
||||||
label: 开启
|
|
||||||
- value: false
|
|
||||||
label: 关闭
|
|
||||||
- $formkit: radio
|
- $formkit: radio
|
||||||
name: enable_busuanzi
|
name: enable_busuanzi
|
||||||
label: 开启 busuanzi 访客统计
|
label: 开启 busuanzi 访客统计
|
||||||
|
@ -44,9 +44,7 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage
|
|||||||
|
|
||||||
<script th:src="@{/assets/lib/jquery@3.5.1/jquery.min.js}"></script>
|
<script th:src="@{/assets/lib/jquery@3.5.1/jquery.min.js}"></script>
|
||||||
|
|
||||||
<script th:if="${theme.config.enhance.enable_patch}" src="//cdn.jsdelivr.net/gh/nineya/halo-theme-dream@master/src/patch.js"></script>
|
|
||||||
<link th:if="${!#strings.isEmpty(theme.config.custom.external_css)}" rel="stylesheet" th:href="${theme.config.custom.external_css}">
|
<link th:if="${!#strings.isEmpty(theme.config.custom.external_css)}" rel="stylesheet" th:href="${theme.config.custom.external_css}">
|
||||||
|
|
||||||
<style th:if="${!#strings.isEmpty(theme.config.custom.inline_css)}" type="text/css" th:text="${theme.config.custom.inline_css}"></style>
|
<style th:if="${!#strings.isEmpty(theme.config.custom.inline_css)}" type="text/css" th:text="${theme.config.custom.inline_css}"></style>
|
||||||
[(${theme.config.custom.external_js_head})]
|
[(${theme.config.custom.external_js_head})]
|
||||||
<script th:if="${!#strings.isEmpty(theme.config.custom.inline_js_head)}" type="text/javascript" th:text="${theme.config.custom.inline_js_head}">
|
<script th:if="${!#strings.isEmpty(theme.config.custom.inline_js_head)}" type="text/javascript" th:text="${theme.config.custom.inline_js_head}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user