diff options
author | zwbetz-gh <zwbetz@gmail.com> | 2021-01-10 22:36:21 +0300 |
---|---|---|
committer | zwbetz-gh <zwbetz@gmail.com> | 2021-01-10 22:36:21 +0300 |
commit | 1a3ed20f93392c95438566f1ef55115ffa3f3c5b (patch) | |
tree | b9c7bbcebc89a521e0b0341e75f02a5c495e6eae /layouts | |
parent | 250f5e47e5c3d936705448c6904ebd0d71ef66c1 (diff) |
config option to show theme switcher
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 492ba39..faec94f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,7 @@ <footer role="contentinfo"> - <div> + <div + {{ if eq .Site.Params.showThemeSwitcher false }}style="display: none;"{{ end }} + > <label for="themer"> {{ T "dark_theme" }} <input type="checkbox" id="themer" class="vh"> <!-- Shows "on" or "off" --> |