Is there a way to have hugo generate a page based off of a template?

For example, typing this command:

hugo new “some template name” content posts/my-first-post.md

I would like to have my-first-post.md be pre-filled out with sections like:

Introduction

Ingredients

Steps

Conclusion

Thank you

https://gohugo.io/content-management/archetypes/#include-content

1 Like