refactor: remove font preload

This commit is contained in:
Erzbir
2026-08-20 15:07:35 +08:00
parent aae71f7b98
commit 5843e66475
+1 -2
View File
@@ -141,8 +141,7 @@
<!-- Preload primary font --> <!-- Preload primary font -->
<th:block th:with="font=${theme.config.style.custom_fonts[0]}"> <th:block th:with="font=${theme.config.style.custom_fonts[0]}">
<link rel="preload" <link th:href="${font.file}"
th:href="${font.file}"
as="font" as="font"
th:type="${font.format == 'woff2' ? 'font/woff2' : th:type="${font.format == 'woff2' ? 'font/woff2' :
(font.format == 'woff' ? 'font/woff' : (font.format == 'woff' ? 'font/woff' :