From 5a2e522319721cae17cdf2291d322d53999f21da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 31 Jan 2018 10:19:15 +0100 Subject: [PATCH] Fix archetype paths --- content/content-management/archetypes.md | 2 +- content/contribute/documentation.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/content-management/archetypes.md b/content/content-management/archetypes.md index c6b8bde76..269fda6db 100644 --- a/content/content-management/archetypes.md +++ b/content/content-management/archetypes.md @@ -173,7 +173,7 @@ title = "post from custom archetype" As an example of archetypes in practice, the following is the `functions` archetype from the Hugo docs: {{< code file="archetypes/functions.md" >}} -{{< readfile file="/themes/gohugoioTheme/archetypes/functions.md" >}} +{{< readfile file="/archetypes/functions.md" >}} {{< /code >}} {{% note %}} diff --git a/content/contribute/documentation.md b/content/contribute/documentation.md index 3d5956ac2..e8603d432 100644 --- a/content/contribute/documentation.md +++ b/content/contribute/documentation.md @@ -46,10 +46,10 @@ Once you have cloned the Hugo repository, you can create a new function via the hugo new functions/newfunction.md ``` -The archetype for `functions` according to the Hugo theme is as follows: +The archetype for `functions` according to the Hugo docs is as follows: {{< code file="archetypes/functions.md" >}} -{{< readfile file="/themes/gohugoioTheme/archetypes/functions.md">}} +{{< readfile file="/archetypes/functions.md">}} {{< /code >}} #### New Function Required Fields