In this project we will collect our most bloved recipes.
- Navigate to the root directory of your website folder within a terminal
- Type
hugo new --kind recipe-bundle recipes/name-of-your-new-recipe-here
, replacingname-of-your-new-recipe-here
with the name of your recipe
- Note that the default template (archetype in Hugo vernacular) will replace the hypens in the provided name with spaces as the title and capitalize the first letter of each word. For example, if I were to enter the command
hugo new --kind recipe-bundle recipes/hot-dog
, I would find a new folder atcontent/recipes/hot-dog
, and the title within theindex.md
file in that folder would beHot Dog
. - Don't forget to set
draft
tofalse
in order to publish your recipe