Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian <julian@vantage-design.com>2020-11-26 11:32:35 +0300
committerGitHub <noreply@github.com>2020-11-26 11:32:35 +0300
commite2ebc35b6b7071c80c167bfa1c3004d7796456f1 (patch)
tree5571e51552840705b0270a3ca312b49f4fb95e75 /layouts
parentf297dc8f723deab04c081ffe0087b16db70e77f1 (diff)
parenta750446c6fe1d3c23f5ee5af542b65ad062da590 (diff)
Merge pull request #29 from sumpfralle/custom-css
Add custom_css parameter
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html4
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" . }}