I'm trying to build a structure for permalinks in Hugo + blogdown where a post will have the permalink structure of
websitename/category/slug
Not sure how to do this because I've set the config.toml permalink structure to
[permalinks]
posts = "/:section/:slug"
and I place the post (an .md file) into a folder, which is a category, underneath the posts file but I get a url similar to websitename/posts/category/slug... when what I really want is websitename/category/slug.
I was hoping to make the category the section, but not have "post" in the URL.
I'm still trying to figure out where to place the _index.md file but have not been very successful. Any help would be appreciated.