Compare commits

...

2 commits

Author SHA1 Message Date
131c03549f add footer with own nav and pages 2024-09-13 17:45:32 +02:00
d67a98b9a6 separate mainNav pages 2024-09-13 17:41:25 +02:00
11 changed files with 50 additions and 1 deletions

15
_includes/footer.njk Normal file
View 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>

View file

@ -1,6 +1,6 @@
<header>
<a href="/" title="home">ESE Logo</a>
<nav>
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}
{{ collections.mainNav | eleventyNavigation | eleventyNavigationToHtml | safe }}
</nav>
</header>

View file

@ -11,5 +11,7 @@
<main>
{{ content | safe }}
</main>
{% include 'footer.njk' %}
</body>
</html>

7
content/accessibility.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: page.njk
eleventyNavigation:
key: Accessibility
tags: footerNav
---
# Accessibility

View file

@ -2,6 +2,7 @@
layout: page.njk
eleventyNavigation:
key: Campus & Faculty
tags: mainNav
---
# Campus & Faculty

View file

@ -2,5 +2,6 @@
layout: page.njk
eleventyNavigation:
key: FAQ
tags: mainNav
---
# Frequently Asked Questions

View file

@ -2,6 +2,7 @@
layout: page.njk
eleventyNavigation:
key: First Steps
tags: mainNav
---
# First Steps

7
content/guidelines.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: page.njk
eleventyNavigation:
key: Community Guidelines
tags: footerNav
---
# Community Guidelines

7
content/imprint.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: page.njk
eleventyNavigation:
key: Imprint
tags: footerNav
---
# Imprint

7
content/privacy.md Normal file
View file

@ -0,0 +1,7 @@
---
layout: page.njk
eleventyNavigation:
key: Privacy
tags: footerNav
---
# Privacy Policy

View file

@ -2,5 +2,6 @@
layout: page.njk
eleventyNavigation:
key: Program
tags: mainNav
---
# Program