From cfbd40cd86bf43a4a6152a4c3d25d85dc2326880 Mon Sep 17 00:00:00 2001 From: nickjwhite Date: Wed, 3 Jun 2020 14:16:59 +0000 Subject: [PATCH] Fix relURL for custom_css (#252) 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. Co-authored-by: Nick White --- 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 67f1415..09622d4 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,7 +20,7 @@ {{ end }} {{ range .Site.Params.custom_css }} - + {{ end }} {{ block "favicon" . }}