From 4a2676396cb0a991dae12018be96462b3eec27f5 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Thu, 31 Aug 2017 00:18:22 +0800 Subject: fix: always use relURL --- layouts/partials/scripts.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index d1eefa8..b206dc8 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,16 +1,17 @@ - +{{ $themeVersion := .Site.Params.version }} + {{ if .Site.Params.bootcdn -}} {{ if .Site.Params.fancybox }}{{ end }} - + {{ else -}} - - - {{ if .Site.Params.fancybox }}{{ end }} - + + + {{ if .Site.Params.fancybox }}{{ end }} + {{- end }} {{ if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) -}} -- cgit v1.2.3