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
Currently in posts you can provide category title via frontmatter. The problem appears when you try to use more than one word for the title. In most sites we usually slugify the title, to make urls more seo and user friendly. But that does not happen when blog-plugin is generating category permalinks.
E.g. if I use category: Awesome Posts - category permalink becomes /category/Awesome%20Posts.html.
If I use category: awesome-posts - page title becomes awesome-posts | Category
Same issues exists with tags.
What does the proposed API look like?
In post frontmatter provide category with spaces and special symbols as needed.
How should this be implemented in your opinion?
When generating category permalink slugify the title with simple regex based replace.
Are you willing to work on this yourself?**
Yes. I already wrote a small plugin for my own blog, but I think official blog-plugin could benefit from it.
The text was updated successfully, but these errors were encountered:
Feature request
What problem does this feature solve?
Currently in posts you can provide category title via frontmatter. The problem appears when you try to use more than one word for the title. In most sites we usually slugify the title, to make urls more seo and user friendly. But that does not happen when blog-plugin is generating category permalinks.
E.g. if I use
category: Awesome Posts
- category permalink becomes/category/Awesome%20Posts.html
.If I use
category: awesome-posts
- page title becomesawesome-posts | Category
Same issues exists with tags.
What does the proposed API look like?
In post frontmatter provide category with spaces and special symbols as needed.
How should this be implemented in your opinion?
When generating category permalink slugify the title with simple regex based replace.
Are you willing to work on this yourself?**
Yes. I already wrote a small plugin for my own blog, but I think official blog-plugin could benefit from it.
The text was updated successfully, but these errors were encountered: