Sha256: 66467d8184ede4820d611c74b53950f838fef71d02b1cf209f8f2d45d6249627

Contents?: true

Size: 1.29 KB

Versions: 13

Compression:

Stored size: 1.29 KB

Contents

{{- "<!-- Bootstrap core CSS -->" | safeHTML }}
{{ if eq hugo.Environment "production" -}}
{{ if eq .Page.Params.direction "rtl" -}}
<link href="/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.rtl.min.css" rel="stylesheet" {{ printf "integrity=%q" .Site.Params.cdn.css_rtl_hash | safeHTMLAttr }} crossorigin="anonymous">
{{- else -}}
<link href="/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap.min.css" rel="stylesheet" {{ printf "integrity=%q" .Site.Params.cdn.css_hash | safeHTMLAttr }} crossorigin="anonymous">
{{- end -}}
{{- else -}}
<link href="/docs/{{ .Site.Params.docs_version }}/dist/css/bootstrap{{ if eq .Page.Params.direction "rtl" }}.rtl{{ end }}.css" rel="stylesheet">
{{- end }}

{{- 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 -}}
{{- $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 href="{{ $style.Permalink | relURL }}" rel="stylesheet">
{{- end }}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.18.0 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.17.0 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.16.0 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.6 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.5 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.4 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.3 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.1.1 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.1 vendor/bootstrap/site/layouts/partials/stylesheet.html
card-mod-bootstrap-0.15.0 vendor/bootstrap/site/layouts/partials/stylesheet.html