From a750446c6fe1d3c23f5ee5af542b65ad062da590 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Tue, 3 Nov 2020 02:44:57 +0100 Subject: Add custom_css parameter The documentation is copied from hugo-octopress. --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1e7e079..1673635 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -17,6 +17,10 @@ {{ $style := resources.Get "css/ace.scss" | toCSS | minify }} + {{ range .Site.Params.custom_css }} + + {{ end }} + {{ if eq hugo.Environment "production" }} {{ template "_internal/google_analytics_async.html" . }} -- cgit v1.2.3