# Committee year pages

The usual committee area on an NGX site is a home page at `committee`, a page per year (`committee/2026`, `committee/2025`, …), and a <strong>shared fragment</strong> that draws a card for each year at the foot of every one of those pages. New group sites have the fragment from the migration template  already created - you still need the pages and the navbar item.

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/fc40b72a-3d53-45b5-93bd-ef3b2241d788.jpeg)

*Committee home: latest papers at the top, then the Committee Years cards from the shared fragment.*

## What you end up with

- `committee` — heading, a Committee Documents row that can show the latest files, then the years fragment.
- `committee/YYYY` — heading for that year, a Committee Documents row for that year’s files (optional cover image), then the same fragment.
- `fragments/committee-years` — one Album Index row that lists every page whose path starts with `committee/`.

Edit the fragment once. Every committee page that embeds it updates.

## If the fragment is already there

Many migrated sites already have `fragments/committee-years`. Check [Content Templates → Shared fragments](https://ngx-ramblers.org.uk/admin/content/content-templates?view-mode=fragments "{{siteUrl}}") or open `fragments/committee-years`.

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/4330dde3-a436-4023-b1a4-903f99114b67.jpeg)

*Content Templates listing the committee-years fragment, with a live preview of the year cards.*

If it is present, skip to **Create the year pages**. If it is missing, create it next.

## Create the shared fragment

1. Go to `fragments/committee-years` and [create the page](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages) if it does not exist.
2. Add a row and set the row type to **Album Index**.
3. Point it at path `committee`, match **starts with**, max path segments **2** (so you get `committee/2026` and not deeper pages).
4. Content types: **pages**. Render as **action buttons**. Sort by title, descending, so the newest year is first.
5. Set the index heading to `## Committee Years`.
6. Save.

You can also start from an existing page: select the years row, choose **Create Named Fragment**, and name it `committee-years`. Full fragment steps: [Shared Fragments](https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments).

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/06819ea7-164c-427d-b112-4f041d0d4ba9.jpeg)

*The fragment page itself, showing the three year cards once the year pages exist.*

## Create the home and year pages

Create `committee`, then `committee/2026`, `committee/2025`, `committee/2024` (or whichever years you need).

On the **home** page, add three rows:

1. **Text** — a short `# Committee` heading and a sentence about papers.
2. **Committee Documents** — tick **auto from first action button** so the home can show recent files. Leave file ids empty until you upload.
3. **Shared Fragment** — choose `fragments/committee-years` from the dropdown.

On each **year** page:

1. **Text** — `# Committee YYYY` and a short welcome. Do not put the cover image on this row.
2. **Committee Documents** — leave auto-from-first-button off. Optionally set **Image Source** to a walk photo from that year; that image becomes the card on the home page. Signed-in committee members see **Add File** on that row; do not mention it in the public heading text.
3. **Shared Fragment** — the same `fragments/committee-years` fragment as the home.

Document rows in more detail: [Committee Documents](https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents).

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/50d68988-a0b6-457c-b307-2ff1ebd33c48.jpeg)

*A year page: papers for that year, then the same years strip so you can move between years.*

## Put Committee on the navbar

The pages are not in the top bar until you add them. [Add a navbar item](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items) with Web Url `committee` and title `Committee`, Public, just before Admin.

## Adding files

On a year page, signed-in committee members use **Add File** on the documents row. Leave that off the public page text; the button is only there when you are signed in. You can upload a PDF or Word file, or create an editable document on the site. File types and who can see them (public AGM papers versus committee-only minutes) are set in [Committee Settings](https://ngx-ramblers.org.uk/admin/settings/committee-settings?tab=configuration "{{siteUrl}}").

You do not need to be a member of another group’s site to view their public AGM papers. Committee-only files on your own site need a logged-in group member whose role allows it.

![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/bc53e44c-5038-475f-97c0-ccb2fc1c2c04.jpeg)

*Page Content Navigator filtered to committee, showing the home, three years and the fragment.*

## See also

- [Adding a navbar item](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-navbar-items)
- [Shared Fragments](https://ngx-ramblers.org.uk/how-to/committee/editing-content/shared-fragments)
- [Committee Documents](https://ngx-ramblers.org.uk/how-to/committee/editing-content/committee-documents)
- [Example committee pages](https://ngx-ramblers.org.uk/how-to/committee/editing-content/example-pages/committee-examples)
- [Creating New Content](https://ngx-ramblers.org.uk/how-to/committee/editing-content/adding-pages)