diff options
author | Julian <julian@vantage-design.com> | 2020-11-26 11:32:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 11:32:35 +0300 |
commit | e2ebc35b6b7071c80c167bfa1c3004d7796456f1 (patch) | |
tree | 5571e51552840705b0270a3ca312b49f4fb95e75 /layouts/partials/head.html | |
parent | f297dc8f723deab04c081ffe0087b16db70e77f1 (diff) | |
parent | a750446c6fe1d3c23f5ee5af542b65ad062da590 (diff) |
Merge pull request #29 from sumpfralle/custom-css
Add custom_css parameter
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
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 }} <link rel="stylesheet" href="{{ $style.Permalink }}"> + {{ range .Site.Params.custom_css }} + <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}"> + {{ end }} + <!-- Only include the tracking when using `hugo` or adding `--environment production` --> {{ if eq hugo.Environment "production" }} {{ template "_internal/google_analytics_async.html" . }} |