diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index ca02f49..2c58b53 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -77,3 +77,4 @@ - [Jared Sturdy](https://github.com/jsturdy) - [Daniel Monteiro](https://github.com/dfamonteiro) - [Dave Rolsky](https://github.com/autarch) +- [Joseph Sanders](https://github.com/jls83) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7089630..0869cd6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -42,6 +42,9 @@ disqusShortname = "yourdiscussshortname" # "light" (light background, dark foreground) (default) colorscheme = "auto" + # Hide the toggle button, along with the associated vertical divider + hidecolorschemetoggle = false + # Series see also post count maxSeeAlsoItems = 5 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2bac40c..c4b5cb5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,9 +4,11 @@ {{ .Site.Title }} {{ if or .Site.Menus.main .Site.IsMultiLingual }} - - - + {{ if not .Site.Params.hidecolorschemetoggle }} + + + + {{ end }}