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
If I'm adding the _index.md file in the releases/ path, hugo returns the lists of articles within this section, and also shows the article in the recent list on the home page. But it's missing in the main list on the posts/ (blog landing) page
If I remove the _index.md, hugo returns http 200 with a bank page.
This happens with the embedded dev server and deployed on a prod nginx.
So is there a way the blog post could list any nested articles even if there are multiple sections/paths? - Or maybe hugo should return a 404 error if someone browses to a section page without any content or index file?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey folks,
I just tried to reorganize my blog posts to clean up a flat list like this:
...into something structured like this:
If I'm adding the
_index.md
file in the releases/ path, hugo returns the lists of articles within this section, and also shows the article in the recent list on the home page. But it's missing in the main list on theposts/
(blog landing) pageIf I remove the
_index.md
, hugo returns http 200 with a bank page.This happens with the embedded dev server and deployed on a prod nginx.
So is there a way the blog post could list any nested articles even if there are multiple sections/paths? - Or maybe hugo should return a 404 error if someone browses to a section page without any content or index file?
Beta Was this translation helpful? Give feedback.
All reactions