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
24
iamkonstantin_web/templates/includes/footer.html
Normal file
24
iamkonstantin_web/templates/includes/footer.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
{% load navigation_tags %}
|
||||
|
||||
<footer>
|
||||
<p>Built with Wagtail</p>
|
||||
|
||||
{% with linkedin_url=settings.base.NavigationSettings.linkedin_url github_url=settings.base.NavigationSettings.github_url mastodon_url=settings.base.NavigationSettings.mastodon_url %}
|
||||
{% if linkedin_url or github_url or mastodon_url %}
|
||||
<p>
|
||||
Follow me on:
|
||||
{% if github_url %}
|
||||
<a href="{{ github_url }}">GitHub</a>
|
||||
{% endif %}
|
||||
{% if linkedin_url %}
|
||||
<a href="{{ linkedin_url }}">Twitter</a>
|
||||
{% endif %}
|
||||
{% if mastodon_url %}
|
||||
<a href="{{ mastodon_url }}">Mastodon</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
{% get_footer_text %}
|
||||
</footer>
|
Loading…
Add table
Add a link
Reference in a new issue