From 9f3b6d2076aa6f0bb927f34f8f81de3ab9ce046c Mon Sep 17 00:00:00 2001 From: Thorsten Date: Mon, 27 Jul 2020 09:12:55 +0200 Subject: [PATCH] Update baseof.html Added the possibility to define custom CSS files in config file like this: 'customCSS = ["css/custom.css"]' --- layouts/_default/baseof.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2c3a98e..926c1f5 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -9,6 +9,9 @@ {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} + {{ range .Site.Params.customCSS -}} + + {{- end }} {{ with .OutputFormats.Get "RSS" -}} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }}