aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-08-11 13:01:51 +0300
committerGitHub <[email protected]>2017-08-11 13:01:51 +0300
commit7bfc6ab6fca519d8348dc219c536b35849ab5cf5 (patch)
tree488ad34a7cff7effaad6b1dbc7a60e8ed08bf1c3 /_layouts
parent14cb6a649534a45705a68172311c89086f77a8fa (diff)
parent7a9ab5bfe19e46e5b9946513a2a64af771ff9ee3 (diff)
downloadbootstrap-7bfc6ab6fca519d8348dc219c536b35849ab5cf5.tar.xz
bootstrap-7bfc6ab6fca519d8348dc219c536b35849ab5cf5.zip
Merge pull request #23301 from twbs/v4-dev-html-errors
Fix HTML errors
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 0292da9fd..0b0c214a1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -12,9 +12,13 @@
{% include docs-navbar.html %}
- <main id="content" role="main">
+ {% if page.layout == "simple" %}
{{ content }}
- </main>
+ {% else %}
+ <main id="content" role="main">
+ {{ content }}
+ </main>
+ {% endif %}
{% include footer.html %}
{% include scripts.html %}