diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-06 22:21:47 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-06 22:21:47 +0200 |
| commit | 5ac83a9edb4e673bbcac311b6df9f82ebe9b6d48 (patch) | |
| tree | d5a53a700845a0b3e5923cf272517fa5de20f44e /layouts | |
| parent | c85d49fc9ee0b44762feef90031b0b1a5bfdac65 (diff) | |
Defer chart.js
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/head/index.html | 2 |
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 -}} |
