Skip to content

Makes it possible to use a '/' in the slug of a post#1464

Open
tinux-it wants to merge 1 commit into
austintoddj:masterfrom
Netbela-com:post-slug-rules
Open

Makes it possible to use a '/' in the slug of a post#1464
tinux-it wants to merge 1 commit into
austintoddj:masterfrom
Netbela-com:post-slug-rules

Conversation

@tinux-it
Copy link
Copy Markdown

Changes the validation for posts slug to a regex instead of using the 'alpha_dash'.

This makes it possible to also create posts with a prefix such as:

  • /kb/my-kb-article
  • /blog/yet-another-blug

feat: Uses a regex to handle the slug validation instead of alpha_dash
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.

1 participant