]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rremove separate JS includes from homepage for simplicity's sake, but include a link...
authorMark Otto <markdotto@gmail.com>
Mon, 14 Sep 2020 22:21:31 +0000 (15:21 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 15 Sep 2020 05:57:19 +0000 (08:57 +0300)
site/layouts/partials/home/masthead-followup.html

index 0c4d6f0ad6b08ed3715865d24323d5bdac3cdc22..ebc44b74510099230752d88ec37a2c78fd5f7327 100644 (file)
@@ -27,7 +27,7 @@
         When you only need to include Bootstrap’s compiled CSS or JS, you can use <a href="https://www.bootstrapcdn.com/">BootstrapCDN</a>.
       </p>
       <p>
-        See it in action with our simple <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#starter-template">starter template</a>, or <a href="/docs/{{ .Site.Params.docs_version }}/examples/">browse the examples</a> to jumpstart your next project.
+        See it in action with our simple <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#starter-template">starter template</a>, or <a href="/docs/{{ .Site.Params.docs_version }}/examples/">browse the examples</a> to jumpstart your next project. You can also choose to include Popper.js and our JS <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/#separate">separately</a>.
       </p>
       <a class="btn btn-lg btn-outline-primary mb-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/">Explore the docs</a>
     </div>
 <link rel="stylesheet" href="%s" integrity=%q crossorigin="anonymous">`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
       {{ highlight (printf (`<!-- JavaScript Bundle with Popper.js -->
 <script src="%s" integrity=%q crossorigin="anonymous"></script>`) .Site.Params.cdn.js_bundle (.Site.Params.cdn.js_bundle_hash | safeHTMLAttr)) "html" "" }}
-      {{ highlight (printf (`<!-- Or Popper.js and our JavaScript file separately -->
-<script src="%s" integrity=%q crossorigin="anonymous"></script>
-<script src="%s" integrity=%q crossorigin="anonymous"></script>
-`) .Site.Params.cdn.popper (.Site.Params.cdn.popper_hash | safeHTMLAttr) .Site.Params.cdn.js (.Site.Params.cdn.js_hash | safeHTMLAttr)) "html" "" }}
     </div>
   </section>