From 15e3dedcee1d0830871ffc692143318a87646101 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Thu, 25 Jul 2024 02:12:22 +0200 Subject: wip --- .../hugo-PaperMod/layouts/partials/header.html | 149 +++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 _vendor/github.com/adityatelange/hugo-PaperMod/layouts/partials/header.html (limited to '_vendor/github.com/adityatelange/hugo-PaperMod/layouts/partials/header.html') diff --git a/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/partials/header.html b/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/partials/header.html new file mode 100644 index 0000000..44336e1 --- /dev/null +++ b/_vendor/github.com/adityatelange/hugo-PaperMod/layouts/partials/header.html @@ -0,0 +1,149 @@ +{{- /* 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 }} + +
+ +
-- cgit v1.2.3