From 64dfdf39fbf6fce86ab3105e07d9130630372f35 Mon Sep 17 00:00:00 2001 From: Paul Twohey Date: Sun, 1 Sep 2019 19:55:41 -0700 Subject: add sub resource integrity (SRI) to processed assets - search javascript - SCSS processed stylesheet --- layouts/partials/docs/html-head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/docs') diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 9946c37..3cf5054 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -4,11 +4,11 @@ {{- $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - + {{ if default true .Site.Params.BookSearch }} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate "search.js" . | resources.Minify | resources.Fingerprint }} - + {{ end }} -- cgit v1.2.3