aboutsummaryrefslogtreecommitdiffhomepage
path: root/create
diff options
context:
space:
mode:
authorAaron Hooper <[email protected]>2023-01-27 11:38:06 +0000
committerBjørn Erik Pedersen <[email protected]>2023-02-22 14:14:49 +0100
commit2dad13c0e4ed6be3c682b4cef76f50d7d5ef43ec (patch)
treefd71169a2f3595545f611673697db360336c115b /create
parentecf3cd514fe0e4c848513053721ee9573108f666 (diff)
downloadhugo-2dad13c0e4ed6be3c682b4cef76f50d7d5ef43ec.tar.gz
hugo-2dad13c0e4ed6be3c682b4cef76f50d7d5ef43ec.zip
create: Fix typo in error message
Diffstat (limited to 'create')
-rw-r--r--create/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/create/content.go b/create/content.go
index 0b9f27797..f8629a778 100644
--- a/create/content.go
+++ b/create/content.go
@@ -95,7 +95,7 @@ func NewContent(h *hugolib.HugoSites, kind, targetPath string, force bool) error
}
if ext == "" {
- return "", fmt.Errorf("failed to resolve %q to a archetype template", targetPath)
+ return "", fmt.Errorf("failed to resolve %q to an archetype template", targetPath)
}
if !files.IsContentFile(b.targetPath) {