From 49ce0ac9d058c4d7a1748d09e20007459ba48c65 Mon Sep 17 00:00:00 2001 From: dataCobra Date: Mon, 26 Jul 2021 16:41:51 +0200 Subject: Documentation for the new darkmode option --- FEATURES.md | 1 + examples/config.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/FEATURES.md b/FEATURES.md index 9362bb9..ee2f1cc 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -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 diff --git a/examples/config.toml b/examples/config.toml index 301147d..6053d70 100644 --- a/examples/config.toml +++ b/examples/config.toml @@ -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 -- cgit v1.2.3