修复页面刷新没有代码行号

This commit is contained in:
困困鱼 2023-08-08 15:25:28 +08:00 committed by GitHub
parent 2268449e55
commit 9cda22b2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -46,14 +46,13 @@
rel="stylesheet" rel="stylesheet"
/> />
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.2.0/css/all.min.css" media="all" onload="this.media='all'"> <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.2.0/css/all.min.css" media="all" onload="this.media='all'">
<!-- 代码块自动识别语言 -->
<th:block th:replace="~{modules/common/code :: code}"/>
<!-- 代码块--> <!-- 代码块-->
<th:block th:replace="~{macro/prism-code :: prism-code}"/> <th:block th:replace="~{macro/prism-code :: prism-code}"/>
<!-- 页脚内容-样式一 --> <!-- 页脚内容-样式一 -->
<th:block th:replace="~{modules/common/footer-style-one :: footer-style-one}"/> <th:block th:replace="~{modules/common/footer-style-one :: footer-style-one}"/>
@ -181,10 +180,6 @@
<!-- icon图标 --> <!-- icon图标 -->
<link rel="stylesheet" th:href="'https://npm.onmicrosoft.cn/hao-theme-static@'+${theme.spec.version}+'/icon/iconfont.css'"> <link rel="stylesheet" th:href="'https://npm.onmicrosoft.cn/hao-theme-static@'+${theme.spec.version}+'/icon/iconfont.css'">
<!-- 代码块自动识别语言 -->
<th:block th:replace="~{modules/common/code :: code}"/>
<!-- 声明一些公共信息 --> <!-- 声明一些公共信息 -->
<script id="site-config" th:inline="javascript"> <script id="site-config" th:inline="javascript">
var GLOBAL_CONFIG = { var GLOBAL_CONFIG = {