From c6754e5264666460139512ec6ff8858f84a5e08c Mon Sep 17 00:00:00 2001 From: Kevin Collas-Arundell Date: Mon, 6 Apr 2020 17:47:48 +1000 Subject: [PATCH] Add support for custom CSS files This allows end users to add additional CSS files for use in their site. They would do this by adding ``` [params] customCSS = [ "mycss.css" ] ``` into their config file. --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d3b5cb8..ff493f8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,6 +14,10 @@ +{{ range .Site.Params.customCSS -}} + +{{- end }} + {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }}