link to imprint/privacy pages on ifsr.de

This commit is contained in:
Lyn Fugmann 2024-10-02 12:14:28 +02:00
parent 7b13deee2d
commit f4019437c5
5 changed files with 19 additions and 33 deletions

View file

@ -11,7 +11,25 @@
</a>
</div>
<nav id="footerNav">
{{ collections.footerNav | pageLang | eleventyNavigation | eleventyNavigationToHtml | safe }}
{% set navPages = collections.footerNav | pageLang | eleventyNavigation %}
<ul>
{%- for entry in navPages -%}
<li>
<a class="footernav-item {%- if entry.url == page.url %} active{% endif %}"
href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
<li>
<a class="footernav-item" href="https://ifsr.de/{{lang}}/datenschutz" target="_blank" rel="noopener">
{{ 'Privacy' if lang == 'en' else 'Datenschutz' }}
</a>
</li>
<li>
<a class="footernav-item" href="https://ifsr.de/{{lang}}/impressum" target="_blank" rel="noopener">
{{ 'Imprint' if lang == 'en' else 'Impressum' }}
</a>
</li>
</ul>
</nav>
<span class="designCredit">
Design:

View file

@ -1,8 +0,0 @@
---
layout: page.njk
title: Impressum
tags: footerNav
eleventyNavigation:
order: 4
---
# Impressum

View file

@ -1,8 +0,0 @@
---
layout: page.njk
title: Datenschutz
tags: footerNav
eleventyNavigation:
order: 3
---
# Datenschutz

View file

@ -1,8 +0,0 @@
---
layout: page.njk
title: Imprint
tags: footerNav
eleventyNavigation:
order: 4
---
# Imprint

View file

@ -1,8 +0,0 @@
---
layout: page.njk
title: Privacy
tags: footerNav
eleventyNavigation:
order: 3
---
# Privacy Policy