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>2017-08-11 12:43:17 +0300
committerXhmikosR <xhmikosr@gmail.com>2017-08-11 12:43:17 +0300
commit61e8aa2a55dfb57c36d254d8ee9daca8753edcf1 (patch)
treee21fcf8aa9004d903de5da18343d6a3444f514c4 /_layouts
parent14cb6a649534a45705a68172311c89086f77a8fa (diff)
Fix HTML validation 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 0292da9fd8..0b0c214a16 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 %}