Place default font links into default font template

This commit is contained in:
Helen Chong 2024-06-10 18:01:08 +08:00
parent f7b41516aa
commit f6ece97b18
2 changed files with 4 additions and 3 deletions

View File

@ -16,9 +16,7 @@
{% block customCSS %}{% endblock %}
{# Fonts #}
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin>
{% include "global/fontinlinestyle.njk" %}
{% include "global/defaultfont.njk" %}
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
{# Font Awesome #}

View File

@ -1,3 +1,6 @@
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin>
<style>
/* lexend-regular - latin */
@font-face {