diff options
Diffstat (limited to 'vendor/twbs/bootstrap-icons/docs/layouts/partials/stylesheet.html')
-rw-r--r-- | vendor/twbs/bootstrap-icons/docs/layouts/partials/stylesheet.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap-icons/docs/layouts/partials/stylesheet.html b/vendor/twbs/bootstrap-icons/docs/layouts/partials/stylesheet.html new file mode 100644 index 000000000..2502e1b5e --- /dev/null +++ b/vendor/twbs/bootstrap-icons/docs/layouts/partials/stylesheet.html @@ -0,0 +1,12 @@ +<link rel="stylesheet" href="/assets/font/bootstrap-icons.min.css"> + +{{- $sassOptions := dict "targetPath" "assets/css/docs.css" "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 -}} + +<link rel="stylesheet" href="{{ $style.Permalink | relURL }}"> |