projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c9b89
)
Fix typo in error message
author
Joe Mooring
<joe.mooring@veriphor.com>
Mon, 25 Oct 2021 20:35:35 +0000
(13:35 -0700)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Tue, 26 Oct 2021 10:59:15 +0000
(12:59 +0200)
create/content.go
patch
|
blob
|
history
diff --git
a/create/content.go
b/create/content.go
index eb06586048ad390e5438aa93ae3f107b55f9aedb..017f97e3ddc1c8ef6948d313b801ae6e14991c4c 100644
(file)
--- a/
create/content.go
+++ b/
create/content.go
@@
-92,7
+92,7
@@
func NewContent(h *hugolib.HugoSites, kind, targetPath string) error {
}
if !files.IsContentFile(b.targetPath) {
- return errors.Errorf("target path
%q is not a k
own content format", b.targetPath)
+ return errors.Errorf("target path
%q is not a kn
own content format", b.targetPath)
}
return b.buildFile()