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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <Hanzei@users.noreply.github.com>2018-03-25 18:09:30 +0300
committerVicky Lai <vicky@vickylai.io>2018-03-25 18:09:30 +0300
commitbd73c0f47bc83e88ce08e2a51cc2d9bc63368cd9 (patch)
treedbb36f525e82e73ee3c1ca836e6acce608cf5ca5 /layouts/partials/header.html
parentf4568a45894f302b368e52fe82958ee0964dca9a (diff)
Allow custom css files (#35)
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index c8eb9ee..67e122d 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -60,6 +60,11 @@ crossorigin="anonymous"></script>
{{ end }}
+<!-- Custom css -->
+{{ range .Site.Params.customCSS -}}
+ <link rel="stylesheet" href="{{ . | absURL }}">
+{{- end }}
+
<!-- Icon -->
<link rel="shortcut icon"
{{ if .Site.Params.faviconFile }}