From de3f78c9c41e999d9072ae6ed93d3e49127d2aeb Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Tue, 05 Jan 2021 10:21:05 +0000
Subject: [PATCH] Merge branch 'master' into date-improvements
---
layouts/partials/navbar.html | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index b35cbf5..9c4c28e 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -23,10 +23,12 @@
</li>
{{ end }}
{{ end }}
- <li class="theme-switch-item">
- <a class="theme-switch" title="Switch Theme">
- <i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
- </a>
- </li>
+ {{ if not .Site.Params.disableThemeSwitcher }}
+ <li class="theme-switch-item">
+ <a class="theme-switch" title="Switch Theme">
+ <i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
+ </a>
+ </li>
+ {{ end }}
</ul>
</div>
--
Gitblit v1.10.0