New 404 (#821)
* Split apart layouts Some pages don't need a footer. * 404 Redesign
This commit is contained in:
@ -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
12
_layouts/minimal.html
Normal 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>
|
Reference in New Issue
Block a user