diff options
author | Gordonby <gordon.byers@microsoft.com> | 2022-03-19 14:53:32 +0300 |
---|---|---|
committer | Gordonby <gordon.byers@microsoft.com> | 2022-03-19 14:53:32 +0300 |
commit | dbfbf98776b5f76e34cd0d27c53e20232d2ff338 (patch) | |
tree | 57423af00c139aeb89a4c885488a79550e928a7f | |
parent | 372b2b3ca66be9c7911cc028e88f4229dda47eaf (diff) |
added custom css support
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 882cd91..2d8ae2c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,3 +33,7 @@ {{- $mg_pop_css := resources.Get "css/magnific-popup.css" -}} {{- $custom_css := slice $font_awesome $google_font $main_css $mg_pop_css | resources.Concat "css/custom.css" | resources.Minify | resources.Fingerprint -}} <link rel="stylesheet" href="{{ $custom_css.RelPermalink }}" integrity="{{ $custom_css.Data.Integrity }}"/> + +{{ range .Site.Params.custom_css -}} + <link rel="stylesheet" href="{{ . | absURL }}"> +{{- end }}
\ No newline at end of file |