diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..58ecb86 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,125 @@ +{{- /* theme-toggle is enabled */}} +{{- if (not site.Params.disableThemeToggle) }} +{{- /* theme is light */}} +{{- if (eq site.Params.defaultTheme "light") }} + +{{- /* theme is dark */}} +{{- else if (eq site.Params.defaultTheme "dark") }} + +{{- else }} +{{- /* theme is auto */}} + +{{- end }} +{{- /* theme-toggle is disabled and theme is auto */}} +{{- else if (and (ne site.Params.defaultTheme "light") (ne site.Params.defaultTheme "dark"))}} + +{{- end }} + +
+ +
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html new file mode 100644 index 0000000..4cce17d --- /dev/null +++ b/layouts/partials/menu.html @@ -0,0 +1,37 @@ + + \ No newline at end of file