Skip to content

fix: add missing next and previous page buttons on the contribute pages#705

Merged
mbaldessari merged 1 commit into
validatedpatterns:mainfrom
gaurav-nelson:contribute-next-previous
Jul 2, 2026
Merged

fix: add missing next and previous page buttons on the contribute pages#705
mbaldessari merged 1 commit into
validatedpatterns:mainfrom
gaurav-nelson:contribute-next-previous

Conversation

@gaurav-nelson

@gaurav-nelson gaurav-nelson commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Two things were missing on Contribute pages:

  1. layouts/contribute/single.html did not include the page navigation partial (Learn and Workshop already did).
  2. layouts/partials/page-navigation.html only built prev/next from the sidebar menu for Learn and Workshop. Contribute fell back to a flat weight sort that ignored menu hierarchy.

Current:
image

This PR:
image

@openshift-ci openshift-ci Bot requested review from dminnear-rh and mbaldessari July 2, 2026 01:01
@openshift-ci openshift-ci Bot added the size/XS label Jul 2, 2026
@ocpdocs-previewbot

Copy link
Copy Markdown

🤖 Thu Jul 02 01:04:10 - The preview is ready at:
https://705--patternsdocs-pr.netlify.app

@openshift-ci openshift-ci Bot added the lgtm label Jul 2, 2026
@mbaldessari mbaldessari merged commit 403834f into validatedpatterns:main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants