Skip to content

feat(blog): restructure posts into YEAR/MONTH folders#297

Open
nohe427 wants to merge 3 commits into
genkit-ai:mainfrom
nohe427:feat/structured-blog-by-date
Open

feat(blog): restructure posts into YEAR/MONTH folders#297
nohe427 wants to merge 3 commits into
genkit-ai:mainfrom
nohe427:feat/structured-blog-by-date

Conversation

@nohe427

@nohe427 nohe427 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

We should prepare to handle more volume of blogs in the blog site. Therefore, we are going to restructure the blog site to a more readable format that allows contributors to be able to find the blog they are working on easily.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request restructures the blog post directory to organize posts by date (YEAR/MONTH/post-slug.mdx), updating the README documentation and asset guidelines accordingly. It also adds 301 redirects in firebase.json for the relocated blog posts. The feedback suggests appending trailing slashes to the destination URLs in the redirect rules to maintain consistency and prevent potential double redirects.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread firebase.json
@chrisraygill

Copy link
Copy Markdown
Collaborator

/gcbrun

@nohe427 nohe427 force-pushed the feat/structured-blog-by-date branch from d5947ad to a5ddc3f Compare June 18, 2026 01:25
@nohe427

nohe427 commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@nohe427 nohe427 force-pushed the feat/structured-blog-by-date branch from a5ddc3f to 4099d64 Compare June 18, 2026 15:16
@chrisraygill

Copy link
Copy Markdown
Collaborator

Is it explicitly intended for the date folder structure to be part of the URL? Astro Starlight does that by default, but it is overrideable (I think).

@nohe427

nohe427 commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

Is it explicitly intended for the date folder structure to be part of the URL? Astro Starlight does that by default, but it is overrideable (I think).

Yeah, I think having the date as part of the URL makes reading the site a little easier and helps avoid collisions. Right now, blogs are showing at the root: https://genkit.dev/blog/streaming-thoughts/

One thing I was hoping to avoid is something like https://genkit.dev/blog/agents/ https://genkit.dev/blog/agents2/ https://genkit.dev/blog/agents3/

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.

2 participants