diff --git a/_layouts/default.html b/_layouts/default.html
index 2fb293e138d749c02bc542fb720ba1c3119e6410..34b88033cb7b1ed17f0bd1269e09e337b40b35d1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -112,6 +112,8 @@ layout: table_wrappers
           </div>
           <div id="search-results" class="search-results"></div>
         </div>
+      {% else %}
+        <div></div>
       {% endif %}
       {% include header_custom.html %}
       {% if site.aux_links %}