Skip to content

Conversation

stevenle
Copy link
Member

@stevenle stevenle commented May 17, 2025

Summary

  • allow schema.collection to specify a slugRegex
  • include the new regex in serialized collection metadata
  • use regex from collection when validating slugs in the CMS UI

Fixes #521

@stevenle stevenle force-pushed the codex/add-config-variable-for-slug-regex branch from 54598e3 to dd6223e Compare May 17, 2025 15:12
@stevenle stevenle changed the title Add configurable slug regex in CMS feat: add slugRegex config option for collections May 17, 2025
@stevenle stevenle merged commit 51c7269 into main May 17, 2025
@stevenle stevenle deleted the codex/add-config-variable-for-slug-regex branch May 17, 2025 15:29
@github-actions github-actions bot mentioned this pull request May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collection slug regex config
1 participant