Currently when the category permalink template variable is used e.g. 'blog/{category}/{slug}.html' when a file has more than one category they are concatenated into the url like so: blog/category-a/category-b/filename.html.
The number of categories included in the concatenation should be selectable via a template variable argument much in the same way as Laravel does for validation.
For example {category,1} would limit to just one category being used, while {category,9} would limit up to nine.
Currently when the
category
permalink template variable is used e.g.'blog/{category}/{slug}.html'
when a file has more than one category they are concatenated into the url like so:blog/category-a/category-b/filename.html
.The number of categories included in the concatenation should be selectable via a template variable argument much in the same way as Laravel does for validation.
For example
{category,1}
would limit to just one category being used, while{category,9}
would limit up to nine.