Add footer menu
This commit is contained in:
parent
f839687b04
commit
63aea4f10c
3 changed files with 60 additions and 11 deletions
|
@ -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 %}
|
||||
|
|
7
source/_partials/footer.html.twig
Normal file
7
source/_partials/footer.html.twig
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue