diff options
author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-03-25 18:05:46 +0300 |
---|---|---|
committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-03-25 18:05:46 +0300 |
commit | d1e8cc532e4946f3e1d0d273d81526415533bc0e (patch) | |
tree | 441f5f650c55e4cac40f92b3da02d7a3fd397008 | |
parent | a99153184e3de263703db11d4ad109ff16943ff2 (diff) |
Use disabler instead of enabler for Searchfeat/loadable-css
Usage => .Site.Params.features.disableSearch: true
-rw-r--r-- | layouts/partials/head_styles.html | 2 |
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 }} |