diff --git a/assets/css/common/search.css b/assets/css/includes/search.css similarity index 100% rename from assets/css/common/search.css rename to assets/css/includes/search.css diff --git a/layouts/partials/head_styles.html b/layouts/partials/head_styles.html index e9affe6..1a03e1f 100644 --- a/layouts/partials/head_styles.html +++ b/layouts/partials/head_styles.html @@ -13,6 +13,11 @@ {{- $includes = (append $hljs $includes) }} {{- end }} +{{- if .Site.Params.features.search }} + {{- $search := (resources.Get "css/includes/search.css") }} + {{- $includes = (append $search $includes) }} +{{- end }} + {{- $includes_all := $includes | resources.Concat "assets/css/includes.css" }} {{- /* order is important */}}