diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c3c3d9f478..1ae1cf54a7 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -40,19 +40,19 @@
{{- end }} diff --git a/layouts/partials/stylesheet.html b/layouts/partials/stylesheet.html index 163114be8c..336ae986fb 100644 --- a/layouts/partials/stylesheet.html +++ b/layouts/partials/stylesheet.html @@ -40,10 +40,10 @@ window.T_Copy_link_to_clipboard = '{{ T "Copy-link-to-clipboard" | safeJS }}'; window.T_Link_copied_to_clipboard = '{{ T "Link-copied-to-clipboard" | safeJS }}'; {{ "// some further base stuff" | safeJS }} - var baseUriFull="{{ .Site.BaseURL | safeJS }}"; + var baseUriFull='{{ trim .Site.BaseURL "/" | safeJS }}/'; {{- $quotedthemevariants := slice }} {{- range $themevariants }} - {{- $quotedthemevariants = $quotedthemevariants | append (printf "\"%s\"" .) }} + {{- $quotedthemevariants = $quotedthemevariants | append (printf "'%s'" .) }} {{- end }} variants.init( [ {{ delimit $quotedthemevariants ", " | safeJS }} ] ); diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index 677562029c..099bb8a9ca 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,6 +1,6 @@ -