Skip to content

Add support for _redirects, and configure it for the blog posts#417

Merged
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-aliases-2026-0210
Feb 10, 2026
Merged

Add support for _redirects, and configure it for the blog posts#417
chalin merged 1 commit intogoogle:mainfrom
chalin:chalin-m24-aliases-2026-0210

Conversation

@chalin
Copy link
Collaborator

@chalin chalin commented Feb 10, 2026

  • Followup to Fix blog post with page bundle resources #416
  • Adds support for Netlify redirects (will eventually add full support to Docsy, but this custom layout will do for now)
  • Adds catch-all aliases for blog posts, since I changed the dates of the posts. Ensure that the old post links at least redirect to the blog landing page
@chalin chalin added this to the 0.14.0 milestone Feb 10, 2026

# Configure how URLs look like per section.
permalinks:
blog: /:section/:year/:month/:day/:slug/
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use :slug as it falls back to the title, which makes harder to keep uniform URLs across locales.

@chalin chalin merged commit 30c96fa into google:main Feb 10, 2026
6 checks passed
@chalin chalin deleted the chalin-m24-aliases-2026-0210 branch February 10, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant