I was using Hugo 0.20 or 0.21 and everything was working fine. I came across the new 0.27 version with support to related content and I wanted to add this to my blog. So I updated hugo from code to latest version, 0.28-dev that I built yesterday.
After building the site, I saw that my permalinks are not used anymore. I would have urls like these: “http://something.com/2017/09/post-slug”. The generated site does not create folder for years and month. I have changed nothing inside my config nor my content files. This is my config file for my dev environment:
It create all the lists (taxonomy, pagination) and all pages are working fine. I can access them. All the single html file for posts are not created.
I have enabled logging and I see this:
WARN 2017/09/19 19:20:36 No translation bundle found for default language "en"
WARN 2017/09/19 19:20:36 Translation func for language en not found, use default.
WARN 2017/09/19 19:20:36 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
INFO 2017/09/19 19:20:36 found taxonomies: map[string]string{"category":"category", "tag":"tag"}
WARN 2017/09/19 19:20:36 [en] Unable to locate layout for "page": [post/post.html.html post/post.html _default/post.html.html _default/post.html theme/post/post.html.html theme/post/post.html theme/_default/post.html.html theme/_default/post.html]