From ab20e8f9f26f24c631649cb04b3ea9f1dbad18d3 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 27 Oct 2018 12:34:45 +0100 Subject: [PATCH] refactor(js): use relative URL for Mathjax config JS Works around potential multi-host asset Permalink bug in Hugo. See #751 Close #757 --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e7cdecfc..3f42bc92 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,7 +4,7 @@ {{ if or .Params.math .Site.Params.math }} {{ $mathjax_config := resources.Get "js/mathjax-config.js" }} {{ $secureJS := $mathjax_config | resources.Fingerprint "sha512" }} - + {{ end }} {{/* Attempt to load local vendor JS, otherwise load from CDN. */}}