feat(patch): 去除补丁模式
This commit is contained in:
		
							parent
							
								
									6e0a72ad93
								
							
						
					
					
						commit
						50596ec29d
					
				| @ -974,16 +974,6 @@ spec: | ||||
|               label:  开启 | ||||
|             - value: false | ||||
|               label:  关闭 | ||||
|         - $formkit: radio | ||||
|           name: enable_patch | ||||
|           label: 补丁模式 | ||||
|           value: true | ||||
|           help: '引入补丁脚本,实现对部分异常不更新主题进行 bug 修复!' | ||||
|           options: | ||||
|             - value: true | ||||
|               label:  开启 | ||||
|             - value: false | ||||
|               label:  关闭 | ||||
|         - $formkit: radio | ||||
|           name: enable_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: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}"> | ||||
| 
 | ||||
|   <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})] | ||||
|   <script th:if="${!#strings.isEmpty(theme.config.custom.inline_js_head)}" type="text/javascript" th:text="${theme.config.custom.inline_js_head}"> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user