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-07-14 19:21:39 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-09-15 08:57:19 +0300
commit7571fe73b619628c31eae8edb63d719ede9a900b (patch)
treeca5208cd3f3e6d2582747741ef5bee34c1f0bef0 /site/layouts
parent94c0f12329820494c39fe7c213866620416d0b38 (diff)
docs: mention our bundle file clearly.
Note that we are using the bundle file already in our docs since 787441d.
Diffstat (limited to 'site/layouts')
-rw-r--r--site/layouts/partials/home/masthead-followup.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/site/layouts/partials/home/masthead-followup.html b/site/layouts/partials/home/masthead-followup.html
index 53acd1eb59..0c4d6f0ad6 100644
--- a/site/layouts/partials/home/masthead-followup.html
+++ b/site/layouts/partials/home/masthead-followup.html
@@ -34,7 +34,9 @@
<div class="col-md-7 pl-md-5">
{{ highlight (printf (`<!-- CSS only -->
<link rel="stylesheet" href="%s" integrity=%q crossorigin="anonymous">`) .Site.Params.cdn.css (.Site.Params.cdn.css_hash | safeHTMLAttr)) "html" "" }}
- {{ highlight (printf (`<!-- JavaScript and dependencies -->
+ {{ 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" "" }}