]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
create: Fix typo in error message
authorAaron Hooper <rnjckhpr@gmail.com>
Fri, 27 Jan 2023 11:38:06 +0000 (11:38 +0000)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 22 Feb 2023 13:14:49 +0000 (14:14 +0100)
create/content.go

index 0b9f277970ce92f7ca0bd013632ec74a0bcb4700..f8629a778987be4f2096e207c3cfec63f3314f42 100644 (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) {