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