From 0adfc94526e65bef22d5fa90df809d537fab6f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 21 Jul 2017 12:58:48 +0200 Subject: [PATCH] Add archetypes YouTube video --- content/content-management/archetypes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/content-management/archetypes.md b/content/content-management/archetypes.md index 9fc58139b..cdbe6953f 100644 --- a/content/content-management/archetypes.md +++ b/content/content-management/archetypes.md @@ -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: ```