Define default Front Matter parameters

Hey!
Can I define default parameters which are created in my Markdown when I create a new post/page?

I need preview_image and featured_image for example but I tend to forget them when writing the Front Matter by hand, so if I the new command would create them it would be nice little help.

Thanks!

Hi,

You can define custom archetypes: https://gohugo.io/content-management/archetypes/

2 Likes

Ah, thank you very much, that’s what it’s called. :smiley: