aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--layouts/partials/head.html6
2 files changed, 6 insertions, 1 deletions
diff --git a/TODO b/TODO
index a9387fb..54f9448 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,2 @@
* fix spacing
* test internationalization
-* add color themes
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 }}