auto toggle dark mode

This commit is contained in:
Gabriel Augendre 2023-09-18 21:22:22 +02:00
parent 9bbfea027a
commit 0a8ec8cc32
4 changed files with 6 additions and 3 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,4 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git
url = https://github.com/Crocmagnon/hugo-PaperMod.git
branch = feat/enable-auto-switch

2
Makefile Normal file
View file

@ -0,0 +1,2 @@
update-themes:
git submodule update --recursive --remote

View file

@ -23,7 +23,7 @@ params:
images: ["img/portrait.jpg"]
DateFormat: "2006-01-02"
defaultTheme: auto # dark, light
disableThemeToggle: false
disableThemeToggle: true
ShowReadingTime: true
ShowShareButtons: false

@ -1 +1 @@
Subproject commit bacb763071d9852bb719675e6c4452fc5650a193
Subproject commit 71b5c16e7f5e60fb87a31562e88360d9876c5ac3