Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

The Wants page and navigation link were not appearing on the site. The issue was a circular dependency in Eleventy 3.x: pages/wants.md paginated over collections.wants, but that collection required all want files to be processed first. When the collection was empty during pagination setup, Eleventy skipped rendering the template entirely.

Changes

  • Created wants/index.njk - Moved wants listing to wants/ directory where it's processed after the collection is populated. Lists all wants directly without pagination.

  • Updated _includes/layouts/wants.njk - Added fallback to collections.wantsBySubmissionDate when pagination data is unavailable, enabling both paginated and non-paginated usage.

  • Removed pages/wants.md - Deleted file causing the circular dependency.

Result

Navigation now displays the Wants link, and the page lists all 187 wants with search functionality:

Wants page showing navigation and list

Original prompt

This section details on the original issue you should resolve

<issue_title>The "Wants" navigation and pages are not showing up on the site</issue_title>
<issue_description>Please investigate the build issues and get the navigation added back properly.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…rcular dependency

Co-authored-by: aarongustafson <75736+aarongustafson@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing 'Wants' navigation and pages Fix Wants page not rendering due to Eleventy 3.x pagination circular dependency Oct 31, 2025
Copilot AI requested a review from aarongustafson October 31, 2025 17:56
Copilot finished work on behalf of aarongustafson October 31, 2025 17:56
@aarongustafson aarongustafson marked this pull request as ready for review October 31, 2025 18:55
@aarongustafson aarongustafson merged commit ef1ea47 into main Oct 31, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "Wants" navigation and pages are not showing up on the site

2 participants