Add a theme toggle

This commit is contained in:
Djordje Atlialp 2021-04-07 19:10:40 +02:00
parent 128e1be607
commit a64d27b8fc
11 changed files with 278 additions and 27 deletions

View file

@ -59,6 +59,8 @@ disableHugoGeneratorInject = false
keywords = ""
images = [""]
# Home subtitle of the index page.
#
homeSubtitle = "Hello Friend NG"
# Set a background for the homepage
@ -72,6 +74,14 @@ disableHugoGeneratorInject = false
#
disableReadOtherPosts = false
# Enable theme toggle
#
# This options enables the theme toggle for the theme.
# Per default, this option is off.
# The theme is respecting the prefers-color-scheme of the operating systeme.
# With this option on, the page user is able to set the scheme he wants.
enableThemeToggle = false
# Sharing buttons
#
# There are a lot of buttons preconfigured. If you want to change them,