Allow disabling custom Scroll Bar Style

closes #637

Usage =>
Params.assets.disableScrollBarStyle: true
This commit is contained in:
Aditya Telange 2022-06-03 18:33:54 +05:30
parent 0ed246d47d
commit 181a8c38f3
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,11 @@
{{- $includes := slice }}
{{- $includes = $includes | append (" " | resources.FromString "assets/css/includes-blank.css")}}
{{- if not (eq site.Params.assets.disableScrollBarStyle true) }}
{{- $ScrollStyle := (resources.Get "css/includes/scroll-bar.css") }}
{{- $includes = (append $ScrollStyle $includes) }}
{{- end }}
{{- $includes_all := $includes | resources.Concat "assets/css/includes.css" }}
{{- $theme_vars := (resources.Get "css/core/theme-vars.css") }}