]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Partially revert "Move this to a partial to work around the stray `p` issue." (#32076)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 8 Nov 2020 18:36:46 +0000 (20:36 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Nov 2020 18:36:46 +0000 (20:36 +0200)
This partially reverts commit 23ddfa99a33c81916666326e0cfd2582dacfca44.

site/content/docs/5.0/getting-started/introduction.md
site/layouts/partials/getting-started/components-requiring-javascript.html [deleted file]

index 2415c900ab266bfdb5ac056b44ca2b65dc7d95f8..ed04c98d6c871257769c11313b1fc6ba5e16ac46 100644 (file)
@@ -51,7 +51,21 @@ If you use `<script type="module">`, please refer to our [using Bootstrap as a m
 
 Curious which components explicitly require our JavaScript and Popper.js? Click the show components link below. If you're at all unsure about the general page structure, keep reading for an example page template.
 
-{{< partial "getting-started/components-requiring-javascript" >}}
+<details>
+<summary class="text-primary mb-3">Show components requiring JavaScript</summary>
+{{< markdown >}}
+- Alerts for dismissing
+- Buttons for toggling states and checkbox/radio functionality
+- Carousel for all slide behaviors, controls, and indicators
+- Collapse for toggling visibility of content
+- Dropdowns for displaying and positioning (also requires [Popper.js](https://popper.js.org/))
+- Modals for displaying, positioning, and scroll behavior
+- Navbar for extending our Collapse plugin to implement responsive behavior
+- Toasts for displaying and dismissing
+- Tooltips and popovers for displaying and positioning (also requires [Popper.js](https://popper.js.org/))
+- Scrollspy for scroll behavior and navigation updates
+{{< /markdown >}}
+</details>
 
 ## Starter template
 
diff --git a/site/layouts/partials/getting-started/components-requiring-javascript.html b/site/layouts/partials/getting-started/components-requiring-javascript.html
deleted file mode 100644 (file)
index 46ee5e8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<details>
-  <summary class="text-primary mb-3">Show components requiring JavaScript</summary>
-  <ul>
-    <li>Alerts for dismissing</li>
-    <li>Buttons for toggling states and checkbox/radio functionality</li>
-    <li>Carousel for all slide behaviors, controls, and indicators</li>
-    <li>Collapse for toggling visibility of content</li>
-    <li>Dropdowns for displaying and positioning (also requires <a href="https://popper.js.org/">Popper.js</a>)</li>
-    <li>Modals for displaying, positioning, and scroll behavior</li>
-    <li>Navbar for extending our Collapse plugin to implement responsive behavior</li>
-    <li>Toasts for displaying and dismissing</li>
-    <li>Tooltips and popovers for displaying and positioning (also requires <a href="https://popper.js.org/">Popper.js</a>)</li>
-    <li>Scrollspy for scroll behavior and navigation updates</li>
-  </ul>
-</details>