aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head/index.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 22:21:47 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 22:21:47 +0200
commit5ac83a9edb4e673bbcac311b6df9f82ebe9b6d48 (patch)
treed5a53a700845a0b3e5923cf272517fa5de20f44e /layouts/partials/head/index.html
parentc85d49fc9ee0b44762feef90031b0b1a5bfdac65 (diff)
Defer chart.js
Diffstat (limited to 'layouts/partials/head/index.html')
-rw-r--r--layouts/partials/head/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head/index.html b/layouts/partials/head/index.html
index a17582e..d2b3826 100644
--- a/layouts/partials/head/index.html
+++ b/layouts/partials/head/index.html
@@ -2,5 +2,5 @@
{{- partial "head/styles" . -}}
{{- if or (.HasShortcode "chart") (.HasShortcode "perf-chart") -}}
-<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/chart.js" defer></script>
{{- end -}}