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

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aslanoglou <chris.aslanoglou@gmail.com>2020-05-03 14:06:43 +0300
committerChris Aslanoglou <chris.aslanoglou@gmail.com>2020-05-03 14:08:53 +0300
commitfa78a0060b2e4fe9b4d3046410e7f3551890362a (patch)
tree00a249cd63ba1aee4cc8964fcc52018a0c1ad22b /layouts
parent7cbb52587026f3e087039231a6667fd2935790cc (diff)
support custom CSS files
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 8fffebc..a465426 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,6 +12,9 @@
<!-- styles -->
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
+ {{ range .Site.Params.custom_css -}}
+ <link rel="stylesheet" href="{{ . | absURL }}">
+ {{- end }}
{{ block "headAdditional" . }}
{{ end }}