From 88946105fd1bf664359d3dd3c38222ca277a11fe Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sun, 6 Feb 2022 14:46:03 +1100 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20Remove=20redundant=20appea?= =?UTF-8?q?rance=20parameter=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref #102 --- layouts/partials/head.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index cf213072..7ef02a9a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -50,10 +50,8 @@ href="{{ $bundleCSS.RelPermalink }}" integrity="{{ $bundleCSS.Data.Integrity }}" /> - {{ if .Site.Params.enableAppearanceSwitching | default true }} - {{ $jsAppearance := resources.Get "js/appearance.js" }} - {{ $assets.Add "js" (slice $jsAppearance) }} - {{ end }} + {{ $jsAppearance := resources.Get "js/appearance.js" }} + {{ $assets.Add "js" (slice $jsAppearance) }} {{ if .Site.Params.enableSearch | default false }} {{ $jsFuse := resources.Get "lib/fuse/fuse.min.js" }} {{ $jsSearch := resources.Get "js/search.js" }}