summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/_layouts/default.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/_layouts/default.html b/source/_layouts/default.html
index 70d04d1..a3fc49d 100644
--- a/source/_layouts/default.html
+++ b/source/_layouts/default.html
@@ -3,7 +3,9 @@
<body>
<header id="header" class="inner">{% include header.html %}</header>
- {% include banner.html %}
+ {% unless page.banner == false %}
+ {% include banner.html %}
+ {% endunless %}
<div id="content" class="inner">{{ content | expand_urls: root_url }}</div>
<footer id="footer" class="inner">{% include footer.html %}</footer>
{% include after_footer.html %}