HUGO

Display mutiple md files on one single page

Basically it would be nice to have a feature where you can put multiple md files on the same page to have more control about the layout.

Example you have a md file with the about text of yourself and also your services, both you have to display them on the same page (landing page).

As I know there is currently no way to do it since Hugo renders only one single page for each md file.

There is such a feature. It’s called Headless Bundles

Also there is at least one theme that makes use of this feature for its landing page.

Have a look at https://themes.gohugo.io/hugo-hero-theme/

Particularly its index.html template that calls the contents of a headless bundle.

Also see the structure of the content directory and the provided homepage headless bundle along with its contents.