Compare commits

...

2 Commits

Author SHA1 Message Date
Helen Chong 5a2dbae11c Move up font and favicon stylesheets 2024-07-28 21:07:18 +08:00
Helen Chong 91205a4d56 Remove comments and whitespace 2024-07-28 20:39:56 +08:00
2 changed files with 6 additions and 12 deletions

View File

@ -7,6 +7,10 @@
{% endblock %}
{% include "global/metagen.njk" %}
{# Fonts #}
{% include "global/fontdefault.njk" %}
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
{# CSS #}
{% include "global/css-bundle.njk" %}
{% if hasTooltips %}
@ -14,9 +18,8 @@
{% endif %}
<style>{% getBundle "css" %}</style>
{# Fonts #}
{% include "global/fontdefault.njk" %}
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
{# Favicon #}
{% block favicon %}{% include "global/favicon.njk" %}{% endblock %}
{# Verifications #}
<link rel="me" href="mailto:contact@leilukin.com">
@ -28,9 +31,6 @@
{# Webmention #}
<link rel="webmention" href="https://webmention.io/leilukin.com/webmention">
{# Favicon #}
{% block favicon %}{% include "global/favicon.njk" %}{% endblock %}
{# JavaScript #}
<script src="{% getBundleFileUrl 'js' %}" defer></script>
{% if toc %}

View File

@ -1,8 +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 {
font-display: swap;
font-family: 'Lexend';
@ -10,8 +8,6 @@
font-weight: 400;
src: url('/assets/fonts/lexend/lexend-v19-latin-regular.woff2') format('woff2');
}
/* lexend-600 - latin */
@font-face {
font-display: swap;
font-family: 'Lexend';
@ -19,8 +15,6 @@
font-weight: 600;
src: url('/assets/fonts/lexend/lexend-v19-latin-600.woff2') format('woff2');
}
/* lexend-700 - latin */
@font-face {
font-display: swap;
font-family: 'Lexend';