diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-02-04 10:09:07 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-03-13 20:22:59 +0300 |
commit | 23ddfa99a33c81916666326e0cfd2582dacfca44 (patch) | |
tree | cb16997b2681f316d1b447d5dfa7ff5e80aaa411 /site | |
parent | d948a3f9cba042ab30a6e2d9083d93707b56feac (diff) |
Move this to a partial to work around the stray `p` issue.
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/4.3/getting-started/introduction.md | 15 | ||||
-rw-r--r-- | site/layouts/partials/getting-started/components-requiring-javascript.html | 14 |
2 files changed, 15 insertions, 14 deletions
diff --git a/site/content/docs/4.3/getting-started/introduction.md b/site/content/docs/4.3/getting-started/introduction.md index 7e32385f94..9d9a2870ef 100644 --- a/site/content/docs/4.3/getting-started/introduction.md +++ b/site/content/docs/4.3/getting-started/introduction.md @@ -37,20 +37,7 @@ Curious which components explicitly require our JavaScript and Popper.js? Click Our `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/). For more information about what's included in Bootstrap, please see our [contents](/docs/{{< param docs_version >}}/getting-started/contents/#precompiled-bootstrap) section. -<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 -- Tooltips and popovers for displaying and positioning (also requires [Popper.js](https://popper.js.org/)) -- Scrollspy for scroll behavior and navigation updates -{{< /markdown >}} -</details> +{{< partial "getting-started/components-requiring-javascript" >}} ## Starter template diff --git a/site/layouts/partials/getting-started/components-requiring-javascript.html b/site/layouts/partials/getting-started/components-requiring-javascript.html new file mode 100644 index 0000000000..4332a68848 --- /dev/null +++ b/site/layouts/partials/getting-started/components-requiring-javascript.html @@ -0,0 +1,14 @@ +<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>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> |