create: Fix typo in error message

This commit is contained in:
Aaron Hooper 2023-01-27 11:38:06 +00:00 committed by Bjørn Erik Pedersen
parent ecf3cd514f
commit 2dad13c0e4

View file

@ -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) {