From fa5f2aed895cc3616a2b9af4fdc00c1218c8bd64 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Sun, 19 Apr 2020 20:10:40 +0200 Subject: refactor(resources): use relative links (#245) --- layouts/partials/head.html | 2 +- layouts/partials/scripts.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7a9f3ea..483339d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -62,7 +62,7 @@ {{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} - + {{ if .Site.Params.publicCDN.enable -}} {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }} {{- else -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 16cec74..18b0e30 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -70,7 +70,7 @@ {{ $even := resources.Get "js/even.js" }} {{ $main := resources.Get "js/main.js" }} {{ $js := slice $even $main | resources.Concat "js/main.js" | fingerprint }} - + {{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}