Small hack to defer non-critical CSS loading

This commit is contained in:
2025-11-07 11:42:16 +01:00
parent d14bdd09fa
commit f34549ed09

View File

@@ -8,8 +8,8 @@
<link rel="icon" href="{{ site.faviconPath }}" type="image/png" />
{% include "partials/global/meta-info.njk" %}
<script>document.documentElement.classList.remove('no-js');</script>
<link rel = "stylesheet" href="/vendor/css/leaflet.css"/>
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css"/>
<link rel = "stylesheet" href="/vendor/css/leaflet.css" media="print" onload="this.media='all'"/>
<link rel = "stylesheet" href="/vendor/css/bootstrap.min.css" media="print" onload="this.media='all'"/>
<style>{% include "assets/css/global.css" %}</style>
{% block head %}
{% endblock %}