mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-10 19:54:08 +02:00
create: Fix typo in error message
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ecf3cd514f
commit
2dad13c0e4
@@ -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) {
|
||||
|
Reference in New Issue
Block a user