Preload fonts and redirect script
This commit is contained in:
parent
275f004996
commit
7b31c3a643
|
@ -16,8 +16,8 @@
|
|||
{% block customCSS %}{% endblock %}
|
||||
|
||||
{# Fonts #}
|
||||
<link rel="stylesheet" href="{{'/assets/fonts/lexend/lexend.css' | url | safe}}">
|
||||
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
|
||||
<link rel="preload" href="{{'/assets/fonts/lexend/lexend.css' | url | safe}}" as="style">
|
||||
<link rel="preload" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}" as="style">
|
||||
|
||||
{# Font Awesome #}
|
||||
<link href="{{'/assets/fonts/fontawesome/css/fontawesome.css' | url | safe}}" rel="stylesheet" />
|
||||
|
@ -33,7 +33,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{# JavaScript #}
|
||||
<script src="/assets/js/redirect.js"></script>
|
||||
<script rel="preload" src="/assets/js/redirect.js" as="script"></script>
|
||||
<script src="/assets/js/details-utils.js" defer></script>
|
||||
|
||||
<title>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<link rel="stylesheet" href="{{'/assets/fonts/noto-sans/noto-sans.css' | url | safe}}">
|
||||
|
||||
{# JavaScript #}
|
||||
<script src="/assets/js/redirect.js"></script>
|
||||
<script rel="preload" src="/assets/js/redirect.js" as="script"></script>
|
||||
|
||||
{# Favicon #}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
|
||||
|
|
Loading…
Reference in New Issue