From d6242e184285f32af3afa029ad37fb959acecd05 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 9 Nov 2020 22:21:50 +0100 Subject: [PATCH] fix acces hashing and asset data file usage --- layouts/partials/foot.html | 4 ++-- layouts/shortcodes/mermaid.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html index 5805bbb..bbb9e3f 100644 --- a/layouts/partials/foot.html +++ b/layouts/partials/foot.html @@ -2,12 +2,12 @@ {{ .Scratch.Set "geekdocSearchConfig" .Site.Params.GeekdocSearchConfig }} {{ $searchJSFile := printf "js/%s.search.js" .Language.Lang }} -{{ $searchJS := resources.Get "js/search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify }} +{{ $searchJS := resources.Get "js/search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | fingerprint }} {{ end }} {{ if default true .Site.Params.GeekdocAnchorCopy }} - + +