I’ve been using Hugo for a few years now, and only recently have I updated to a newer version (or more precisely installed it on a new machine), but it seems that something was changed and now all of my posts under content/post
are being only displayed in /post
. The root url /
now only displays one thing, and that is a link to /post
, and the same link also now gets returned by
{{ $posts := first $num_recent_posts (where .Site.Pages "Section" "in" .Site.Params.mainSections) }}
I’ve checked the docs and it seems that this is to be expected, since the structure of the website should mimic the structure of the content? But it seems that this is something that must have changed.
I’m not sure if I’m just using an outdated template, or if there is some simple configuration option that I can change to make the content/post
directory become the root of the site?