Fix archetype paths

This commit is contained in:
Bjørn Erik Pedersen
2018-01-31 10:19:15 +01:00
parent 9c2e5c0635
commit 5a2e522319
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 %}}
+2 -2
View File
@@ -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