1
0
Fork 0
mirror of https://github.com/GuerillaStudio/compteur-de-greve.git synced 2024-10-09 05:19:02 +00:00

Add some preloading links

This commit is contained in:
Tixie 2023-03-02 02:36:02 +01:00
parent a9011dbdc4
commit 4bf44d8a90
2 changed files with 5 additions and 0 deletions

View file

@ -5,9 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<link rel="stylesheet" href="{{ '/css/style.css' | url }}" />
<link rel="preload" href="{{ '/css/style.css' | url }}" as="style" />
<style>[v-cloak] { display: none; }</style>
<script type="module" src="{{ '/js/script.js' | url }}"></script>
<link rel="preload" href="{{ '/js/script.js' | url }}" as="script" />
{% include 'preload-assets.njk' %}
{% include 'favicons.njk' %}
<!-- TODO: REMOVE IN PROD, but safer to have it for now -->
<meta name="robots" content="none">

View file

@ -0,0 +1,2 @@
<link rel="preload" href="/img/hand-left.svg" as="image" type="image/svg+xml" />
<link rel="preload" href="/img/hand-right.svg" as="image" type="image/svg+xml" />