diff options
| author | Arnab Kumar Shil <ruddra90@gmail.com> | 2018-12-30 12:49:24 +0600 |
|---|---|---|
| committer | Track3 <34504964+Track3@users.noreply.github.com> | 2018-12-30 14:49:24 +0800 |
| commit | 269713b589a6fc304304723f3febf2b0448a1705 (patch) | |
| tree | 3653bd6fa005b47c132d89938caede90aea352ae /layouts/_default/baseof.html | |
| parent | 4fb41e8a9a8142f0b808183154f9929200f9668b (diff) | |
| download | hermit-269713b589a6fc304304723f3febf2b0448a1705.tar.gz | |
Add custom css support (#21)
Diffstat (limited to 'layouts/_default/baseof.html')
| -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 5f7e408..0a4bd7b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,6 +25,9 @@ {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}} <link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}> {{ block "head" . -}}{{- end }} + {{ range .Site.Params.CustomCSS -}} + <link rel="stylesheet" href="{{ . | absURL }}"> + {{- end }} </head> <body id="page"> |
