diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/_layouts/examples.html')
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/examples.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/twbs/bootstrap/site/_layouts/examples.html b/vendor/twbs/bootstrap/site/_layouts/examples.html index cecd1145d..4ca4c5681 100644 --- a/vendor/twbs/bootstrap/site/_layouts/examples.html +++ b/vendor/twbs/bootstrap/site/_layouts/examples.html @@ -11,6 +11,7 @@ <link rel="canonical" href="{{ site.url | append: page.url }}"> {% include stylesheet.html %} + {% include favicons.html %} <style> .bd-placeholder-img { @@ -39,9 +40,9 @@ {%- if page.include_js != false -%} <script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script> - <script>window.jQuery || document.write('<script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/js/vendor/jquery-slim.min.js"><\/script>')</script> + <script>window.jQuery || document.write('<script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/js/vendor/jquery.slim.min.js"><\/script>')</script> - {%- if jekyll.environment == "production" -%} + {%- if jekyll.environment == "production" or jekyll.environment == "netlify" -%} <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.min.js" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script> {%- else -%} <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.js"></script> |