aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-27 13:58:13 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-27 13:58:13 -0400
commit48f3534fade8ecf107b5d797d2ddcc30520e798f (patch)
tree9e51aa4c0242bbea06cb110d98a6a8c02db2db70 /themes/hugo-pt2021/layouts
parent2c6fe60f0fa20e7d57d690e188ba39fe4aa6804a (diff)
downloadpablotron.org-48f3534fade8ecf107b5d797d2ddcc30520e798f.tar.bz2
pablotron.org-48f3534fade8ecf107b5d797d2ddcc30520e798f.zip
themes/hugo-pt2021: add dark mode
Diffstat (limited to 'themes/hugo-pt2021/layouts')
-rw-r--r--themes/hugo-pt2021/layouts/partials/header.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/header.html b/themes/hugo-pt2021/layouts/partials/header.html
index cdeebb9..1beeb2d 100644
--- a/themes/hugo-pt2021/layouts/partials/header.html
+++ b/themes/hugo-pt2021/layouts/partials/header.html
@@ -64,6 +64,7 @@
class='navbar-item {{if eq .id $.Params.menu}}is-active{{end}}'
title='{{.help}}'
aria-label='{{.help}}'
+ data-id='{{.id}}'
>
{{- if .icon -}}
<img