separate mainNav pages

This commit is contained in:
Lyn Fugmann 2024-09-13 17:41:25 +02:00
parent ca43d25e0f
commit d67a98b9a6
5 changed files with 5 additions and 1 deletions

View file

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

View file

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

View file

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

View file

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

View file

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