aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9f6faf9..de87277 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,7 +8,13 @@
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
{{- end }}
<meta name="theme-color" content="#000">
+ {{- if .Site.Params.custom_css }}
+ {{- range .Site.Params.custom_css }}
+ <link rel="stylesheet" type="text/css" href="{{ relURL . }}">
+ {{- end }}
+ {{- else }}
<link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}">
+ {{- end }}
{{- if $.Site.Params.title }}
<title>{{ .Title }}</title>
{{- end }}