From 425605870d00b9a8b80b242c5ca6d0b91159f006 Mon Sep 17 00:00:00 2001 From: weru <onewesh@gmail.com> Date: Thu, 10 Sep 2020 23:53:08 +0000 Subject: [PATCH] enable site owners to disable dark mode by default --- README.md | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 29e1a37..fcc3f11 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ Note that you need the `themesDir` flag when running Hugo because the site files are inside the theme repo. +### How do I disable dark mode? + +Under `params` add `darkMode = false` to your `config.toml` file. If your site is based on the exampleSite, the value is already included; you only need to uncomment it. + ## From the same creator 1. [Swift Theme](https://github.com/onweru/hugo-swift-theme) -- Gitblit v1.10.0