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

github.com/kc0bfv/autophugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordonby <gordon.byers@microsoft.com>2022-03-19 14:53:32 +0300
committerGordonby <gordon.byers@microsoft.com>2022-03-19 14:53:32 +0300
commitdbfbf98776b5f76e34cd0d27c53e20232d2ff338 (patch)
tree57423af00c139aeb89a4c885488a79550e928a7f
parent372b2b3ca66be9c7911cc028e88f4229dda47eaf (diff)
added custom css support
-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 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