feat: add footer, header and improve layout
This commit is contained in:
parent
72bf6bffb8
commit
6fd74833a3
17 changed files with 305 additions and 30 deletions
16
iamkonstantin_web/templates/includes/header.html
Normal file
16
iamkonstantin_web/templates/includes/header.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% load wagtailcore_tags navigation_tags wagtailuserbar %}
|
||||
<header>
|
||||
{# Add this: #}
|
||||
<a href="#main" class="skip-link">Skip to content</a>
|
||||
|
||||
{% get_site_root as site_root %}
|
||||
<nav>
|
||||
<p>
|
||||
<a href="{% pageurl site_root %}">{{ site_root.title }}</a> |
|
||||
{% for menuitem in site_root.get_children.live.in_menu %}
|
||||
<a href="{% pageurl menuitem %}">{{ menuitem.title }}</a>{% if not forloop.last %} | {% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
</nav>
|
||||
{% wagtailuserbar "top-right" %}
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue