From d67a98b9a60d3f0ea042abb4d28f941e8719be3d Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Fri, 13 Sep 2024 17:41:25 +0200 Subject: [PATCH 1/2] separate mainNav pages --- _includes/header.njk | 2 +- content/campus.md | 1 + content/faq.md | 1 + content/first-steps.md | 1 + content/program.md | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_includes/header.njk b/_includes/header.njk index 5ef7c10..4519008 100644 --- a/_includes/header.njk +++ b/_includes/header.njk @@ -1,6 +1,6 @@
ESE Logo
diff --git a/content/campus.md b/content/campus.md index 93a337b..f2b29c8 100644 --- a/content/campus.md +++ b/content/campus.md @@ -2,6 +2,7 @@ layout: page.njk eleventyNavigation: key: Campus & Faculty +tags: mainNav --- # Campus & Faculty diff --git a/content/faq.md b/content/faq.md index baea635..6134f8f 100644 --- a/content/faq.md +++ b/content/faq.md @@ -2,5 +2,6 @@ layout: page.njk eleventyNavigation: key: FAQ +tags: mainNav --- # Frequently Asked Questions diff --git a/content/first-steps.md b/content/first-steps.md index dcd6f43..119d9a1 100644 --- a/content/first-steps.md +++ b/content/first-steps.md @@ -2,6 +2,7 @@ layout: page.njk eleventyNavigation: key: First Steps +tags: mainNav --- # First Steps diff --git a/content/program.md b/content/program.md index 5ac9f9c..3a185e9 100644 --- a/content/program.md +++ b/content/program.md @@ -2,5 +2,6 @@ layout: page.njk eleventyNavigation: key: Program +tags: mainNav --- # Program From 131c03549f2c2280c453e815dcde63af63a50e68 Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Fri, 13 Sep 2024 17:45:32 +0200 Subject: [PATCH 2/2] add footer with own nav and pages --- _includes/footer.njk | 15 +++++++++++++++ _layouts/page.njk | 2 ++ content/accessibility.md | 7 +++++++ content/guidelines.md | 7 +++++++ content/imprint.md | 7 +++++++ content/privacy.md | 7 +++++++ 6 files changed, 45 insertions(+) create mode 100644 _includes/footer.njk create mode 100644 content/accessibility.md create mode 100644 content/guidelines.md create mode 100644 content/imprint.md create mode 100644 content/privacy.md diff --git a/_includes/footer.njk b/_includes/footer.njk new file mode 100644 index 0000000..36d8766 --- /dev/null +++ b/_includes/footer.njk @@ -0,0 +1,15 @@ +
+
+
[language switcher]
+ +
+
+

+ Design: + Designtoasty +

+

Made with 🧉 and 🌈 in Dresden

+
+
diff --git a/_layouts/page.njk b/_layouts/page.njk index 1c85b47..6f5f336 100644 --- a/_layouts/page.njk +++ b/_layouts/page.njk @@ -11,5 +11,7 @@
{{ content | safe }}
+ + {% include 'footer.njk' %} diff --git a/content/accessibility.md b/content/accessibility.md new file mode 100644 index 0000000..320af8c --- /dev/null +++ b/content/accessibility.md @@ -0,0 +1,7 @@ +--- +layout: page.njk +eleventyNavigation: + key: Accessibility +tags: footerNav +--- +# Accessibility diff --git a/content/guidelines.md b/content/guidelines.md new file mode 100644 index 0000000..6f2b62a --- /dev/null +++ b/content/guidelines.md @@ -0,0 +1,7 @@ +--- +layout: page.njk +eleventyNavigation: + key: Community Guidelines +tags: footerNav +--- +# Community Guidelines diff --git a/content/imprint.md b/content/imprint.md new file mode 100644 index 0000000..aa490e8 --- /dev/null +++ b/content/imprint.md @@ -0,0 +1,7 @@ +--- +layout: page.njk +eleventyNavigation: + key: Imprint +tags: footerNav +--- +# Imprint diff --git a/content/privacy.md b/content/privacy.md new file mode 100644 index 0000000..21aedbe --- /dev/null +++ b/content/privacy.md @@ -0,0 +1,7 @@ +--- +layout: page.njk +eleventyNavigation: + key: Privacy +tags: footerNav +--- +# Privacy Policy