Add Foundation membership page to Foundation section issue #3013 #3042
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix: Add Membership page to Foundation navigation. #3013
Problem
The Membership page (
/membership/) was not appearing in the Foundation dropdown menu despite:extra.navigation = "foundation"set in its frontmatternavigation.tomlas a child entry withparent = "foundation"Root Cause
The Foundation header was using
section = "foundation", which automatically generates navigation items from the/content/foundation/directory. Since the Membership page is located at/content/membership/(outside the foundation directory), it was not included in the auto-generated navigation.Additionally, the template doesn't support the
parentfield in[[header.children]]entries - it expectschildrento be a direct property of the header entry when using manual navigation.Solution
Changed the Foundation navigation from using
section(auto-generated) to manualchildrenentries, similar to how the Blog section is structured. This allows explicit control over which pages appear in the Foundation dropdown.Changes
section = "foundation"withid = "foundation"andhref = "/foundation/"[[header.children]]entries for:About (
/foundation/about/)Governing Board (
/foundation/governing-board/)Working Groups (
/foundation/working-groups/)Members (
/membership/) ← This fixes the issueResult
The Membership page now appears in the Foundation dropdown menu as "Members", making it easily accessible to users browsing the Foundation section.
zola serve