M _layouts/default.html => _layouts/default.html +17 -13
@@ 23,23 23,27 @@
<i class="fa fa-moon"></i>
</label>
- {% include_cached masthead.html %}
+ <div class="top-flex">
- <div class="initial-content">
- {{ content }}
- </div>
+ {% include_cached masthead.html %}
+
+ <div class="initial-content">
+ {{ content }}
+ </div>
- {% if site.search == true %}
- <div class="search-content">
- {% include_cached search/search_form.html %}
+ {% if site.search == true %}
+ <div class="search-content">
+ {% include_cached search/search_form.html %}
+ </div>
+ {% endif %}
+
+ <div id="footer" class="page__footer">
+ <footer>
+ {% include footer/custom.html %}
+ {% include_cached footer.html %}
+ </footer>
</div>
- {% endif %}
- <div id="footer" class="page__footer">
- <footer>
- {% include footer/custom.html %}
- {% include_cached footer.html %}
- </footer>
</div>
{% include scripts.html %}
M _sass/minimal-mistakes/_page.scss => _sass/minimal-mistakes/_page.scss +1 -1
@@ 10,7 10,7 @@
width: 100%;
}
-body {
+.top-flex {
display: flex;
min-height: 100vh;
flex-direction: column;