#todayilearned

by @jm3 · aka John Manoogian3

Frequent, bite-size mini-milestone updates as I fast-forward merge* my front-end web development skills up to 2019 levels. Learn more

Hugo archetypes define post templates

Posted at — Jun 9, 2019

Hugo archetypes let you define sets of metadata and even post content for new posts created on the command line for your Hugo blog. I have a simple one that adds some additional fields when I create these posts. The archetype files live in archetypes/ and match the name of your parent “sections” directory and the file extension you use for posts, e.g. .md.