aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-08 20:36:46 +0200
committerGitHub <[email protected]>2020-11-08 20:36:46 +0200
commit4ed742e4db4717fc7de68a542fe2d825cdddfeb7 (patch)
tree2b3854381075a65cd2276f8daf20cc3421aa2cbd /site
parent270f7be9d2777eb8d1ecc18f3476c699eba33278 (diff)
downloadbootstrap-4ed742e4db4717fc7de68a542fe2d825cdddfeb7.tar.xz
bootstrap-4ed742e4db4717fc7de68a542fe2d825cdddfeb7.zip
Partially revert "Move this to a partial to work around the stray `p` issue." (#32076)
This partially reverts commit 23ddfa99a33c81916666326e0cfd2582dacfca44.
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.0/getting-started/introduction.md16
-rw-r--r--site/layouts/partials/getting-started/components-requiring-javascript.html15
2 files changed, 15 insertions, 16 deletions
diff --git a/site/content/docs/5.0/getting-started/introduction.md b/site/content/docs/5.0/getting-started/introduction.md
index 2415c900a..ed04c98d6 100644
--- a/site/content/docs/5.0/getting-started/introduction.md
+++ b/site/content/docs/5.0/getting-started/introduction.md
@@ -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
index 46ee5e830..000000000
--- a/site/layouts/partials/getting-started/components-requiring-javascript.html
+++ /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>