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:
authorLars Kruse <devel@sumpfralle.de>2020-11-03 04:44:57 +0300
committerLars Kruse <devel@sumpfralle.de>2020-11-03 04:44:57 +0300
commita750446c6fe1d3c23f5ee5af542b65ad062da590 (patch)
tree0d214599401f577b5e61ab38b8f3834e48bedc88 /layouts
parentc29ef66a85f50b1248fe07b8fe095a7907257aa1 (diff)
Add custom_css parameter
The documentation is copied from hugo-octopress.
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" . }}