Split orange theme out into its own stylesheet
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link rel="stylesheet" href="{{ "assets/style.css" | absURL }}">
|
||||
{{ if (ne $.Site.Params.ThemeColor "orange") }}
|
||||
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
|
||||
{{ end }}
|
||||
<link rel="stylesheet" href="{{ with $.Site.Params.ThemeColor | default "orange" }}{{ printf "assets/%s.css" . | absURL }}{{ end }}">
|
||||
|
||||
<!-- Custom CSS to override theme properties (/static/style.css) -->
|
||||
{{ if (fileExists "static/style.css") -}}
|
||||
|
||||
Reference in New Issue
Block a user