Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-25 18:05:46 +0300
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-25 18:05:46 +0300
commitd1e8cc532e4946f3e1d0d273d81526415533bc0e (patch)
tree441f5f650c55e4cac40f92b3da02d7a3fd397008
parenta99153184e3de263703db11d4ad109ff16943ff2 (diff)
Use disabler instead of enabler for Searchfeat/loadable-css
Usage => .Site.Params.features.disableSearch: true
-rw-r--r--layouts/partials/head_styles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head_styles.html b/layouts/partials/head_styles.html
index f55d53de..f483809f 100644
--- a/layouts/partials/head_styles.html
+++ b/layouts/partials/head_styles.html
@@ -13,7 +13,7 @@
{{- $includes = (append $hljs $includes) }}
{{- end }}
-{{- if .Site.Params.features.search }}
+{{- if not (.Site.Params.features.disableSearch) }}
{{- $search := (resources.Get "css/includes/search.css") }}
{{- $includes = (append $search $includes) }}
{{- end }}