Skip to content

Conversation

@Ankit-singh-dot
Copy link

@Ankit-singh-dot Ankit-singh-dot commented Dec 6, 2025

Fix: Add Membership page to Foundation navigation. #3013

Problem

The Membership page (/membership/) was not appearing in the Foundation dropdown menu despite:

  • Having extra.navigation = "foundation" set in its frontmatter
  • Being added to navigation.toml as a child entry with parent = "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 parent field in [[header.children]] entries - it expects children to be a direct property of the header entry when using manual navigation.

Solution

Changed the Foundation navigation from using section (auto-generated) to manual children entries, similar to how the Blog section is structured. This allows explicit control over which pages appear in the Foundation dropdown.

Changes

  • Replaced section = "foundation" with id = "foundation" and href = "/foundation/"
  • Added explicit [[header.children]] entries for:
    • About (/foundation/about/)

    • Governing Board (/foundation/governing-board/)

    • Working Groups (/foundation/working-groups/)

    • Members (/membership/) ← This fixes the issue

Result

The Membership page now appears in the Foundation dropdown menu as "Members", making it easily accessible to users browsing the Foundation section.

  • I have signed off my commit
  • I tested the site locally using zola serve
  • The Membership link correctly appears under Foundation
  • I did not modify unrelated files or assets
Screenshot 2025-12-06 at 8 53 54 PM

@Ankit-singh-dot Ankit-singh-dot requested a review from a team as a code owner December 6, 2025 15:24
@Ankit-singh-dot Ankit-singh-dot changed the title Add Foundation membership page to Foundation section Add Foundation membership page to Foundation section #3013 Dec 6, 2025
@Ankit-singh-dot Ankit-singh-dot changed the title Add Foundation membership page to Foundation section #3013 Add Foundation membership page to Foundation section issue #3013 Dec 6, 2025
@awtj8o81ryywg793
Copy link
Contributor

awtj8o81ryywg793 commented Dec 6, 2025

I'm not a maintainer, but I must emphasise that you shouldn’t remove the PR checklist. Your commit needs to be signed off, or the PR as a whole does.

@MTRNord MTRNord added the missing-template This PR had the template removed from its description. Please add back and follow the instructions. label Dec 6, 2025
@MTRNord MTRNord marked this pull request as draft December 6, 2025 16:23
Signed-off-by: Ankit <ankitrajdihara123@gmail.com>
@Ankit-singh-dot Ankit-singh-dot force-pushed the feature/foundation-members-link branch from 339e292 to 28379f7 Compare December 6, 2025 19:24
@Ankit-singh-dot Ankit-singh-dot marked this pull request as ready for review December 6, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing-template This PR had the template removed from its description. Please add back and follow the instructions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants