Skip to content

fix: display news posts in reverse chronological order - #21

Merged
ipbabble merged 1 commit into
redhat-data-and-ai:mainfrom
Lincoln210:fix/sort-news
Aug 13, 2026
Merged

fix: display news posts in reverse chronological order#21
ipbabble merged 1 commit into
redhat-data-and-ai:mainfrom
Lincoln210:fix/sort-news

Conversation

@Lincoln210

Copy link
Copy Markdown

Summary

  • News listing and sidebar now show the most recent post first instead of oldest first
  • Changed .ByDate to .ByDate.Reverse in layouts/news/list.html and layouts/partials/menu-news.html

Test

  • Run ./serve.sh and navigate to /news/
  • Verify posts appear newest-first (August 12 before August 11)
  • Verify the sidebar navigation matches the same order

@ipbabble
ipbabble merged commit d996f5e into redhat-data-and-ai:main Aug 13, 2026
1 check 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.

3 participants