Templates for specific folders in Hugo

Posted on Jul 24, 2022

In Hugo you can simply create a folder within content/ and a template within layouts/_default/. It will be used for the index route of that folder - even if your template did not specify a layout.

This allowed me to create a separate template for all my learnings / til section!