mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 08:59:43 -04:00
Add archetypes YouTube video
This commit is contained in:
parent
638e9d9bb6
commit
0adfc94526
@ -29,6 +29,8 @@ See above
|
||||
|
||||
**Archetypes** are content files in the [archetypes directory][] of your project that contain preconfigured [front matter][] for your website's [content types][]. Archetypes facilitate consistent metadata across your website content and allow content authors to quickly generate instances of a content type via the `hugo new` command.
|
||||
|
||||
{{< youtube S3Tj3UcTFz8 >}}
|
||||
|
||||
The `hugo new` generator for archetypes assumes your working directory is the content folder at the root of your project. Hugo is able to infer the appropriate archetype by assuming the content type from the content section passed to the CLI command:
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user