From ba678184f8b29fcded90a93acbddfc88f8e90093 Mon Sep 17 00:00:00 2001 From: Alexandre CHAZAL Date: Mon, 8 Aug 2022 15:32:12 +0100 Subject: [PATCH] feat(js): added async keyword to body's scripts tags --- layouts/_default/baseof.html | 4 ++-- layouts/partials/extra-head.html | 0 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 layouts/partials/extra-head.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f347eaa..693c3b8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,10 +35,10 @@ {{ if .Site.Params.code_copy_button | default true -}} {{ $codeCopy := resources.Get "js/code-copy.js" -}} {{ $script := slice $main $codeCopy | resources.Concat "js/bundle.js" | minify | fingerprint -}} - + {{ else -}} {{ $script := $main | minify | fingerprint -}} - + {{ end }} {{- partial "analytics.html" . }} diff --git a/layouts/partials/extra-head.html b/layouts/partials/extra-head.html deleted file mode 100644 index e69de29..0000000