]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch 'main' into xmr/docs-sass
authorXhmikosR <xhmikosr@gmail.com>
Fri, 8 Mar 2024 10:58:53 +0000 (12:58 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2024 10:58:53 +0000 (12:58 +0200)
1  2 
site/layouts/partials/stylesheet.html

index 5a3609529bf8e36bb89353be61fc545cefe9c24a,f675d7212502b576f89aeb27de6c620d6ea0efc4..47e25e0c54f3c3fa78dcae92c3e5b742dd6b7ab9
  
  {{- 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 -}}