Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-08 21:36:46 +0300
committerGitHub <noreply@github.com>2020-11-08 21:36:46 +0300
commit4ed742e4db4717fc7de68a542fe2d825cdddfeb7 (patch)
tree2b3854381075a65cd2276f8daf20cc3421aa2cbd
parent270f7be9d2777eb8d1ecc18f3476c699eba33278 (diff)
Partially revert "Move this to a partial to work around the stray `p` issue." (#32076)
This partially reverts commit 23ddfa99a33c81916666326e0cfd2582dacfca44.
-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 2415c900ab..ed04c98d6c 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 46ee5e830e..0000000000
--- 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>