From 703e0549721ddc594dd0e20c192eebc412ba3a7f Mon Sep 17 00:00:00 2001 From: liushuyu Date: Fri, 13 May 2022 16:52:28 -0600 Subject: [PATCH] layouts: disable SRI fingerprinting ... ... since CORS policy is not possible to set in GitHub Pages --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 76bb84a..ce4f9e3 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -101,8 +101,8 @@ - {{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify | fingerprint }} - + {{ $mainJs := resources.Match "js/**.js" | resources.Concat "js/script.js" | minify }} + {{- block "scripts" . }}{{- end }} {{- if eq (getenv "HUGO_ENV") "PRD" }}