diff options
author | Chris Aslanoglou <chris.aslanoglou@gmail.com> | 2020-05-03 14:06:43 +0300 |
---|---|---|
committer | Chris Aslanoglou <chris.aslanoglou@gmail.com> | 2020-05-03 14:08:53 +0300 |
commit | fa78a0060b2e4fe9b4d3046410e7f3551890362a (patch) | |
tree | 00a249cd63ba1aee4cc8964fcc52018a0c1ad22b /layouts | |
parent | 7cbb52587026f3e087039231a6667fd2935790cc (diff) |
support custom CSS files
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 3 |
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 }} |