You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(blog): ensure unique and valid slugs for tag pages
- fix: improve slugifyTag to support non-ASCII characters (Japanese/etc)
- fix: filter empty slugs in getStaticPaths to prevent build errors
- fix: eliminate duplicate slugs in tag page generation
Copy file name to clipboardExpand all lines: CHANGELOG
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
- **fix(search):** Removed unused test file `EnhancedSearchEngine.test.ts`.
20
20
- **fix(blog):** Corrected the blog tags link generation to point to the new static tag pages instead of using query parameters, ensuring distinct URLs for each tag view.
21
21
- **fix(api):** Updated the `/api/get-posts` endpoint to return server-rendered HTML fragments (using `BlogCard`) instead of JSON, aligning with the client-side consumption model.
22
+
- **fix(blog):** Resolved "Missing parameter: tag" build error by enhancing `slugifyTag` to support non-ASCII characters and filtering out empty slugs in `getStaticPaths`.
0 commit comments