fix:瞬时代码块显示问题(#99)

This commit is contained in:
jiewenhuang 2023-09-24 12:05:40 +08:00
parent b5d464ee7b
commit aa47c543a7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<th:block th:if="${htmlType == 'index'} and ${theme.config.carousel.enable_banner}">
<link rel="stylesheet" th:href="@{/assets/lib/swiper/swiper-bundle.min.css}">
</th:block>
<th:block th:if="${htmlType == 'post' or tmlType == 'journals' or tmlType == 'sheet'}">
<th:block th:if="${htmlType == 'post' or htmlType == 'journals' or htmlType == 'sheet'}">
<link rel="preload stylesheet" as="style" th:href="@{/assets/lib/prism/prism.min.css}">
<link rel="preload stylesheet" as="style" th:href="@{/assets/lib/prism/themes}+'/prism-'+${theme.config.code_block.code_theme}+'.css'">
</th:block>