refactor: remove font preload
This commit is contained in:
@@ -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' :
|
||||||
|
|||||||
Reference in New Issue
Block a user