blob: fe36c6d3d7803a38f7f09d84393630e42cd5b980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> -->
<link rel="stylesheet" href="https://twbs-bootstrap.netlify.com/docs/4.3/dist/css/bootstrap.min.css">
{{- $sassOptions := dict "targetPath" "assets/css/docs.css" -}}
{{- if (eq (getenv "HUGO_ENV") "production") -}}
{{- $sassOptions = merge $sassOptions (dict "outputStyle" "compressed") -}}
{{- else -}}
{{- $sassOptions = merge $sassOptions (dict "enableSourceMap" true) -}}
{{- end -}}
{{- $style := resources.Get "scss/docs.scss" | toCSS $sassOptions -}}
{{- if (eq (getenv "HUGO_ENV") "production") -}}
{{- $style = $style | postCSS | fingerprint -}}
{{- end }}
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}">
|