From 338027b046f7f72a8fe9c52e8ca7adeddf261868 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 20 Jul 2020 20:41:19 +0530 Subject: [PATCH] SetThemeAuto: disable auto theme set by default - user needs to add + params: SetThemeAuto: true --- layouts/_default/baseof.html | 2 ++ layouts/partials/head.html | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4035dd6b..e243b575 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,9 +6,11 @@
+ {{- if $.Site.Params.SetThemeAuto -}} + {{- end -}}