Add footer menu

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent f839687b04
commit 63aea4f10c
3 changed files with 60 additions and 11 deletions

View file

@ -6,12 +6,14 @@
{% include 'navbar' %}
<div class="py-16">
<div id="main-content" class="max-w-2xl px-4 mx-auto">
<div class="max-w-2xl px-4 py-16 mx-auto">
<div id="main-content">
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
</div>
{% include 'footer' %}
</div>
</div>
{% endblock %}

View file

@ -0,0 +1,7 @@
<footer class="mt-10">
<nav>
{% for link in site.menus.footer %}
<a href="{{ link.href }}">{{ link.title }}</a>
{% endfor %}
</nav>
</footer>