Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce _posts/FILENAME.md filename must have 3 slugs at least. #45

Open
huan opened this issue Sep 29, 2019 · 0 comments
Open

Enforce _posts/FILENAME.md filename must have 3 slugs at least. #45

huan opened this issue Sep 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented Sep 29, 2019

Valid:

  • _posts/YEAR-MONTH-DATE-slug1-slug2-slug3-slug4.md
  • _posts/YEAR-MONTH-DATE-slug1-slug2-slug3.md

Invalid:

  • _posts/YEAR-MONTH-DATE-slug1-slug2.md
  • _posts/YEAR-MONTH-DATE-slug1.md

By adding this rule to the CI tests.

@huan huan added the enhancement New feature or request label Sep 29, 2019
@huan huan changed the title Enforce _posts/ filename must have 3 slugs at least. Enforce _posts/FILENAME.md filename must have 3 slugs at least. Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant