Hugo

Content depending on environment paramenter?

Hi,

I want to run a stripped personal site, which is more of a one-pager without blog, and one larger page with menus and with a blog. Is it somehow possible to specify with the environment flag, if hugo should include for example blog posts or not?

Many thanks,
Tobias

Yep.

I’d probably use mounts to specify content directories. Researching this may have solved an issue I was having. :sunglasses:

1 Like