Emulating Jekyll Permalinks

I have still been unable to solve this.

I attempted to create the new taxonomies and permalinks as explained in the pull request content, however they weren’t recognized at all, even when adding that data to the frontmatter of every post. Hugo still seems to regard the directory as priority for URL generation.

HOWEVER. In the docs at: URL management | Hugo under “Permalinks configuration example” It says:

Only the content under post/ will have the new URL structure. For example, the file content/post/sample-entry.md with date: 2017-02-27T19:20:00-05:00 in its front matter will render to public/2017/02/sample-entry/index.html at build time and therefore be reachable at https://example.com/2017/02/sample-entry/ .

This is not my experience. With that example the content ends up at https://example.com/posts/2017/02/sample-entry/. Note the “posts/” addition.

The result that the documentation gives is exactly what I want. What hugo actually does is not.

So at this point I’m assuming that the documentation is incorrect and that there may be no way to do this and still have my content under the content/posts/ directory locally.

To explain what I want again (for anyone that doesn’t want to scroll up).

I have content at content/posts/sample-entry.md with category: diatribe" and a date of February 1st, 2017. I need this to be generated as: https://example.com/diatribe/2017/02/01/sample-entry.md`

No matter what I seem to do, I end up with /posts/ in my generated permalink.

If I sort all my posts in to /content/category/ and add over 50+ “permalink: category: /:section/:year/:month/:day/:filename/” with "uglyurls: true"in my config… then it works. However it’s a total mess in both my config file and for local organization.

(However, “uglyurls: true” breaks other parts of my site… Tags and Categories are rendered without index.html - #2 by AdmiralBumbleBee)

My site is active and live using Jekyll currently, and it’s very important that my permalinks stay the same for the content currently online.