diff options
author | Mario <mario@mariovavti.com> | 2023-06-02 16:36:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-02 16:36:57 +0000 |
commit | bd84ff483887c55c6ede4ba94e1a9175e34090b8 (patch) | |
tree | 799929705f903f4ba4111ca37d5028180371b621 /vendor/twbs/bootstrap/site/layouts/_default/examples.html | |
parent | 87689df062f09adf104ff996b7bc942ba508a2b4 (diff) | |
download | volse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.tar.gz volse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.tar.bz2 volse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.zip |
update bootstrap to version 5.3
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts/_default/examples.html')
-rw-r--r-- | vendor/twbs/bootstrap/site/layouts/_default/examples.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/_default/examples.html b/vendor/twbs/bootstrap/site/layouts/_default/examples.html index cb689c0ce..5ec926323 100644 --- a/vendor/twbs/bootstrap/site/layouts/_default/examples.html +++ b/vendor/twbs/bootstrap/site/layouts/_default/examples.html @@ -153,16 +153,14 @@ {{ .Content }} - {{ if ne .Page.Params.include_js false -}} - {{- if eq hugo.Environment "production" -}} - <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.min.js" {{ printf "integrity=%q" .Site.Params.cdn.js_bundle_hash | safeHTMLAttr }} crossorigin="anonymous"></script> - {{- else -}} - <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"></script> - {{- end }} - - {{ range .Page.Params.extra_js -}} - <script{{ with .async }} async{{ end }} src="{{ .src }}"{{ with .integrity }} {{ printf "integrity=%q" . | safeHTMLAttr }} crossorigin="anonymous"{{ end }}></script> - {{- end -}} + {{- if eq hugo.Environment "production" -}} + <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.min.js" {{ printf "integrity=%q" .Site.Params.cdn.js_bundle_hash | safeHTMLAttr }} crossorigin="anonymous"></script> + {{- else -}} + <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"></script> {{- end }} + + {{ range .Page.Params.extra_js -}} + <script{{ with .async }} async{{ end }} src="{{ .src }}"{{ with .integrity }} {{ printf "integrity=%q" . | safeHTMLAttr }} crossorigin="anonymous"{{ end }}></script> + {{- end -}} </body> </html> |