Skip to content

fix: remove year grouping from blog sidebar Recent Posts#1712

Merged
sanjay-kv merged 2 commits into
mainfrom
copilot/arrange-blog-post-descending-order
May 24, 2026
Merged

fix: remove year grouping from blog sidebar Recent Posts#1712
sanjay-kv merged 2 commits into
mainfrom
copilot/arrange-blog-post-descending-order

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 24, 2026

The "Recent posts" sidebar on blog post pages grouped entries under year headings (e.g. "2026"), cluttering the sidebar. Posts should be shown in a flat descending list with no year separators.

Changes Made

  • docusaurus.config.ts — added blog.sidebar.groupByYear: false to themeConfig:
blog: {
  sidebar: {
    groupByYear: false,
  },
},

Docusaurus defaults groupByYear to true; flipping it removes the year headings and renders a flat, newest-first list (descending order is already the Docusaurus default for sidebar items).

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Dependencies

  • No new dependencies.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 24, 2026 11:43am

Copilot AI changed the title [WIP] Arrange blog post in descending order on blog pages fix: remove year grouping from blog sidebar Recent Posts May 24, 2026
Copilot AI requested a review from sanjay-kv May 24, 2026 11:42
@sanjay-kv sanjay-kv marked this pull request as ready for review May 24, 2026 12:03
@sanjay-kv sanjay-kv merged commit 4a3a751 into main May 24, 2026
7 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.

arrange the blog post in descending order on blog pages

2 participants