add footer with own nav and pages
This commit is contained in:
parent
d67a98b9a6
commit
131c03549f
6 changed files with 45 additions and 0 deletions
15
_includes/footer.njk
Normal file
15
_includes/footer.njk
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<footer>
|
||||||
|
<div>
|
||||||
|
<div>[language switcher]</div>
|
||||||
|
<nav>
|
||||||
|
{{ collections.footerNav | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
|
Design:
|
||||||
|
<a href="https://designtoasty.de" target="_blank" rel="noreferrer">Designtoasty</a>
|
||||||
|
</p>
|
||||||
|
<p>Made with 🧉 and 🌈 in Dresden</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
|
@ -11,5 +11,7 @@
|
||||||
<main>
|
<main>
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
{% include 'footer.njk' %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
7
content/accessibility.md
Normal file
7
content/accessibility.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
layout: page.njk
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Accessibility
|
||||||
|
tags: footerNav
|
||||||
|
---
|
||||||
|
# Accessibility
|
7
content/guidelines.md
Normal file
7
content/guidelines.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
layout: page.njk
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Community Guidelines
|
||||||
|
tags: footerNav
|
||||||
|
---
|
||||||
|
# Community Guidelines
|
7
content/imprint.md
Normal file
7
content/imprint.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
layout: page.njk
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Imprint
|
||||||
|
tags: footerNav
|
||||||
|
---
|
||||||
|
# Imprint
|
7
content/privacy.md
Normal file
7
content/privacy.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
layout: page.njk
|
||||||
|
eleventyNavigation:
|
||||||
|
key: Privacy
|
||||||
|
tags: footerNav
|
||||||
|
---
|
||||||
|
# Privacy Policy
|
Loading…
Reference in a new issue