From ad0b0364b81c04423e02edd596ebbb5b9b748624 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Feb 2021 18:42:21 +0000 Subject: missing files --- .../site/layouts/partials/stylesheet.html | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html (limited to 'vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html') diff --git a/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html new file mode 100644 index 000000000..8013e6f9d --- /dev/null +++ b/vendor/twbs/bootstrap/site/layouts/partials/stylesheet.html @@ -0,0 +1,25 @@ +{{- "" | safeHTML }} +{{ if eq hugo.Environment "production" -}} + +{{- else -}} + +{{- end }} + +{{ if (or (eq .Page.Layout "docs") (eq .Page.Layout "single")) -}} +{{- "" | safeHTML }} + +{{- end -}} + +{{- if (ne .Page.Layout "examples") }} +{{- $targetDocsCssPath := printf "/docs/%s/assets/css/docs.css" .Site.Params.docs_version -}} +{{- $sassOptions := dict "targetPath" $targetDocsCssPath "outputStyle" "expanded" "precision" 6 -}} +{{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}} + +{{ if eq hugo.Environment "production" -}} + {{- $sassOptions = merge $sassOptions (dict "outputStyle" "compressed") -}} +{{- end -}} + +{{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions | postCSS $postcssOptions }} + + +{{- end }} -- cgit v1.2.3