update theme-switcher functionality

This commit is contained in:
somrat sorkar
2023-12-09 08:52:04 +06:00
parent 32ba8bb3fb
commit 6892f7bf94
4 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#################### default parameters ################################
# favicon
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
favicon = "images/favicon.png"
# logo
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation
logo = "images/logo.png"
logo_darkmode = "images/logo-darkmode.png"
# use `px` or `x` with logo_width, example: "100px".
@@ -16,7 +16,7 @@ logo_text = "Hugoplate"
navbar_fixed = true
# theme-mode
theme_switcher = true
theme_default = "dark" # available options [light/dark/system]
theme_default = "system" # available options [light/dark/system]
# Main Sections
mainSections = ["blog"]
# contact form action