From: XhmikosR Date: Fri, 8 Mar 2024 10:58:53 +0000 (+0200) Subject: Merge branch 'main' into xmr/docs-sass X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05b8256c0d935f8012fb7dce34512104b22efb72;p=thirdparty%2Fbootstrap.git Merge branch 'main' into xmr/docs-sass --- 05b8256c0d935f8012fb7dce34512104b22efb72 diff --cc site/layouts/partials/stylesheet.html index 5a3609529b,f675d72125..47e25e0c54 --- a/site/layouts/partials/stylesheet.html +++ b/site/layouts/partials/stylesheet.html @@@ -12,10 -12,10 +12,10 @@@ {{- if (ne .Page.Layout "examples") }} {{- $targetDocsCssPath := path.Join "/docs" .Site.Params.docs_version "assets/css/docs.css" -}} -{{- $sassOptions := dict "targetPath" $targetDocsCssPath "outputStyle" "expanded" "precision" 6 -}} +{{- $sassOptions := dict "transpiler" "dartsass" "targetPath" $targetDocsCssPath "outputStyle" "expanded" -}} {{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}} - {{ if eq hugo.Environment "production" -}} + {{ if hugo.IsProduction -}} {{- $sassOptions = merge $sassOptions (dict "outputStyle" "compressed") -}} {{- end -}}