diff options
| author | XhmikosR <[email protected]> | 2018-03-27 12:49:29 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-03-27 14:53:43 +0300 |
| commit | 9efcf3ad4b8c0b4ae1df3a8272e27f419e2ff4aa (patch) | |
| tree | 79a2c82d5cecc6c8f4eabc6d2a4320f52fd0b94b /_layouts | |
| parent | 68db42c9f86fcdfcca0cc049cbde30d0d73df88a (diff) | |
| download | bootstrap-9efcf3ad4b8c0b4ae1df3a8272e27f419e2ff4aa.tar.xz bootstrap-9efcf3ad4b8c0b4ae1df3a8272e27f419e2ff4aa.zip | |
Fix duplicate `main` element.
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 2 | ||||
| -rw-r--r-- | _layouts/examples.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 59f5c122b..28f4cdccb 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ {% include docs-navbar.html %} - {% if page.layout == "simple" %} + {% if page.layout == "simple" or page.layout == "examples" %} {{ content }} {% else %} <main id="content" role="main"> diff --git a/_layouts/examples.html b/_layouts/examples.html index 768f577fb..1f8fbcdec 100644 --- a/_layouts/examples.html +++ b/_layouts/examples.html @@ -11,6 +11,6 @@ layout: default {% include ads.html %} </header> -<main class="bd-content p-5" role="main"> +<main class="bd-content p-5" id="content" role="main"> {{ content }} </main> |
