* Split apart layouts

Some pages don't need a footer.

* 404 Redesign
This commit is contained in:
2019-04-02 23:38:08 -05:00
committed by GitHub
parent 8d8d12465b
commit 75e05ce24c
4 changed files with 44 additions and 28 deletions

View File

@ -1,20 +1,11 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body data-spy="scroll" data-target="#navbar">
<header>
{% include nav.html %}
<div id="top" class="py-4"></div>
</header>
<div class="container" role="main">
<main>
{{ content }}
</main>
<footer>
{% include footer.html %}
</footer>
</div>
{% include scripts.html %}
</body>
</html>
---
layout: minimal
---
<div class="container" role="main">
<main>
{{ content }}
</main>
<footer>
{% include footer.html %}
</footer>
</div>

12
_layouts/minimal.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body data-spy="scroll" data-target="#navbar">
<header>
{% include nav.html %}
<div id="top" class="py-4"></div>
</header>
{{ content }}
{% include scripts.html %}
</body>
</html>