I have the following layout:
project-name/content/blog/posts
and
project-name/content/pages
Which level does Hugo use as the root level?
I have the following layout:
project-name/content/blog/posts
and
project-name/content/pages
Which level does Hugo use as the root level?
AFAIK, that depends on the theme. You’ll have pages under baseURL/pages and under baseURL/blog/posts.
content folder is the default root of site content, unless otherwise mounted. For multlingual sites, root is within a language subfolder of content ( eg. content/en ) as specified by contentDir confguration parameter.
Data is read from content folder either as a single page ( a markdown file ) or a page bundle.
Thank you. That was very useful.
Thank you as well!