diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index db3a5068..c5775991 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,21 +3,25 @@ {{- end -}} - +{{- $theme := site.Params.defaultTheme | default "auto" }} +{{- if eq $theme "dark" }} + +{{- else if eq $theme "light" }} + +{{- else }} + +{{- end }}
{{- partial "head.html" . }} - - {{- partialCached "header.html" . .Page -}} +{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) }} + +{{- else }} + +{{- end }} + {{ partialCached "header.html" . .Page -}}