diff --git a/layouts/partials/body/darkmode.html b/layouts/partials/body/darkmode.html index 53f2c67..de338bf 100644 --- a/layouts/partials/body/darkmode.html +++ b/layouts/partials/body/darkmode.html @@ -2,5 +2,7 @@ id="dark-mode-toggle-1" appearance="toggle" permanent=true - style="display:inline-block; contain: none; height:20px;position: relative; top: -3px;" + legend="Theme Switcher" + dark="Dark" + light="Light" > \ No newline at end of file diff --git a/layouts/partials/components/navmenu.html b/layouts/partials/components/navmenu.html index a30b812..ab81a01 100644 --- a/layouts/partials/components/navmenu.html +++ b/layouts/partials/components/navmenu.html @@ -26,6 +26,5 @@ along with this program. If not, see . {{ end }} {{ end }} - {{ if eq .name "utility" }}{{ partial "body/darkmode.html" . }}{{ end}} {{ end }} diff --git a/layouts/partials/footer/hcard.html b/layouts/partials/footer/hcard.html index 0eba985..352e029 100644 --- a/layouts/partials/footer/hcard.html +++ b/layouts/partials/footer/hcard.html @@ -1,7 +1,6 @@

- Rohan Verma / @@ -10,7 +9,11 @@


+{{ partial "body/darkmode.html" . }} +
+
← IndieWeb Webring πŸ•ΈπŸ’ -β†’ \ No newline at end of file +β†’ +
\ No newline at end of file