made custom css a template property
This commit is contained in:
parent
ba88a6b5b1
commit
3302e37cb4
@ -11,8 +11,10 @@
|
|||||||
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
|
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if $.Site.Params.CustomCss }}
|
||||||
<!-- Custom CSS to override theme properties (/static/style.css) -->
|
<!-- 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 -->
|
<!-- Icons -->
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "img/apple-touch-icon-144-precomposed.png" | absURL }}">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "img/apple-touch-icon-144-precomposed.png" | absURL }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user