From: Louis-Maxime Piton Date: Tue, 23 Jul 2024 07:14:26 +0000 (+0200) Subject: Merge branch 'main' into main-lmp-docs-example-refactoring X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmain-lmp-docs-example-refactoring;p=thirdparty%2Fbootstrap.git Merge branch 'main' into main-lmp-docs-example-refactoring --- 8a102dd7bc75af4ef932159a9f0a9d6a7f2732d2 diff --cc site/content/docs/5.3/docsref.md index e56a6abd39,5a16470c59..28cac19ec1 --- a/site/content/docs/5.3/docsref.md +++ b/site/content/docs/5.3/docsref.md @@@ -60,10 -45,6 +61,10 @@@ sitemap
This is a test.
{{< /example >}} +{{< example class=bg-body-secondary >}} +
This is a test with a custom background color.
+{{< /example >}} + {{< scss-docs name="variable-gradient" file="scss/_variables.scss" >}} - {{< js-docs name="live-toast" file="site/assets/js/snippets.js" >}} + {{< js-docs name="live-toast" file="site/assets/js/partials/snippets.js" >}} diff --cc site/layouts/shortcodes/example.html index 5082920b2b,5b398e6814..40944fbb6b --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@@ -20,21 -20,21 +20,21 @@@ {{- $content := .Inner -}}
- {{- if eq $show_preview true -}} + {{- if eq $show_preview true }} - {{- $input -}} + {{ $content }}
- {{- end -}} + {{- end }} - {{- if eq $show_markup true -}} - {{- if eq $show_preview true -}} -
- {{ $lang }} -
- - + {{- end -}} +