Use file names as blog slugs? #4679
Answered
by
squidfunk
StarfallProjects
asked this question in
Q&A
-
Would it be possible to support using a file name as the slug for blog posts? Generally, the full title of a blog post isn't desirable as the slug - you want a slug that has fewer (more focused) words (for SEO reasons as well as aesthetics) Edit: it looks like this should already be possible?
But I'm not seeing how to tell it to use file name in the docs? |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Nov 26, 2022
Replies: 1 comment 1 reply
-
Duplicate of #4543 (= already supported). This should work: plugins:
- blog:
post_url_format: "{file}" I've actually forgotten to add it to the docs 🤦♂️ Edit: Updated docs in cdfd068. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
StarfallProjects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicate of #4543 (= already supported). This should work:
I've actually forgotten to add it to the docs 🤦♂️
Edit: Updated docs in cdfd068.