diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | layouts/partials/head.html | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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 }} |