From 1a3762dc4ca669ad2a76d087bfcf33b42fe269d1 Mon Sep 17 00:00:00 2001 From: Nick White Date: Fri, 31 Jan 2020 17:05:49 +0000 Subject: [PATCH] Fix relURL for custom_css The way relURL was used meant that one needed to preface the custom_css entries with a slash, or the href would be incorrectly set to subdircss/mycss.css rather than subdir/css/mycss.css, in the case of a baseURL in a subdir. --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6aaab0878..7ce5fc975 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,7 +20,7 @@ {{ end }} {{ range .Site.Params.custom_css }} - + {{ end }} {{ block "favicon" . }}