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 -->
<th:block th:with="font=${theme.config.style.custom_fonts[0]}">
<link rel="preload"
th:href="${font.file}"
<link th:href="${font.file}"
as="font"
th:type="${font.format == 'woff2' ? 'font/woff2' :
(font.format == 'woff' ? 'font/woff' :