mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
feat(11ty): add page layout
This commit is contained in:
19
11ty/_includes/layouts/index.njk
Normal file
19
11ty/_includes/layouts/index.njk
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends 'layouts/base.njk' %}
|
||||
|
||||
{% block content %}
|
||||
<main>
|
||||
{{ content | safe }}
|
||||
{% include 'components/table-of-content.njk' %}
|
||||
<section>
|
||||
<h2>Words</h2>
|
||||
{% include 'components/defintions-list.njk' %}
|
||||
</section>
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
<nav aria-label="">
|
||||
<ul class="navigation-list">
|
||||
<li><a href="/documentation/">Documentation
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user