aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/_layouts
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/_layouts')
-rw-r--r--vendor/twbs/bootstrap/site/_layouts/docs.html8
-rw-r--r--vendor/twbs/bootstrap/site/_layouts/examples.html5
2 files changed, 7 insertions, 6 deletions
diff --git a/vendor/twbs/bootstrap/site/_layouts/docs.html b/vendor/twbs/bootstrap/site/_layouts/docs.html
index 1d2125508..b9381923b 100644
--- a/vendor/twbs/bootstrap/site/_layouts/docs.html
+++ b/vendor/twbs/bootstrap/site/_layouts/docs.html
@@ -10,17 +10,17 @@
<div class="container-fluid">
<div class="row flex-xl-nowrap">
- <div class="col-12 col-md-3 col-xl-2 bd-sidebar">
+ <div class="col-md-3 col-xl-2 bd-sidebar">
{% include docs-sidebar.html %}
</div>
{% if page.toc %}
- <div class="d-none d-xl-block col-xl-2 bd-toc">
+ <nav class="d-none d-xl-block col-xl-2 bd-toc" aria-label="Secondary navigation">
{{ content | toc_only }}
- </div>
+ </nav>
{% endif %}
- <main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
+ <main class="col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
<p class="bd-lead">{{ page.description | smartify }}</p>
{% include ads.html %}
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>