Skip to content

Commit

Permalink
Documentation for the new darkmode option
Browse files Browse the repository at this point in the history
  • Loading branch information
dataCobra committed Jul 26, 2021
1 parent fcf9297 commit 49ce0ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ The following options for `class=` are available: right, alignright, left and al
- **.Site.Params.homepage** # Enable/Disable homepage use instead of a list
- **.Site.Params.keywords** # Add meta keywords in head part (Site Keywords or Tags of Page)
- **.Site.Params.description** # Add meta description in head part (Site Description or Description of Page)
- **.Site.Params.darkmode** # Enable/Disable dark mode as default
- **.Site.Params.math** # Add math typesetting with KaTeX (Global with this param)
- **.Site.Params.customcss** # Add path to customcss you want to add to the theme
- **.Site.Params.customjs.enabled** # Enable/Disable customjs
Expand Down
3 changes: 3 additions & 0 deletions examples/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ googleAnalytics = ""
series = "series"

[params]
# Enable dark mode as default
#darkmode = true

# Use homepage.md instead of a list of posts
homepage = false

Expand Down

0 comments on commit 49ce0ac

Please sign in to comment.