made custom css a template property

This commit is contained in:
derMicha 2019-02-16 19:15:21 +01:00
parent ba88a6b5b1
commit 3302e37cb4

View File

@ -11,8 +11,10 @@
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
{{ end }}
{{ if $.Site.Params.CustomCss }}
<!-- Custom CSS to override theme properties (/static/style.css) -->
<link rel="stylesheet" href="{{ "assets/style.css" | absURL }}">
<link rel="stylesheet" href="{{ $.Site.Params.CustomCss | safeHTML | absURL }}">
{{ end }}
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "img/apple-touch-icon-144-precomposed.png" | absURL }}">