summaryrefslogtreecommitdiffhomepage
path: root/create/content.go
diff options
context:
space:
mode:
authorBrian Payne <[email protected]>2014-11-02 17:29:55 -0800
committerspf13 <[email protected]>2014-11-13 12:36:47 -0500
commite127a5cb7d91aabc3df36e70123967a35df7aabf (patch)
tree9b600a48f78548e6bd5dc508ff1f1f5ea4aae75e /create/content.go
parent3cec04e0d2bdcbeae0ce1a59d55f759f61c8a3aa (diff)
downloadhugo-e127a5cb7d91aabc3df36e70123967a35df7aabf.tar.gz
hugo-e127a5cb7d91aabc3df36e70123967a35df7aabf.zip
Added better error message for poorly formed frontmatters in archtypes
Diffstat (limited to 'create/content.go')
-rw-r--r--create/content.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/create/content.go b/create/content.go
index 2b185c876..99e866da3 100644
--- a/create/content.go
+++ b/create/content.go
@@ -57,6 +57,7 @@ func NewContent(kind, name string) (err error) {
}
newmetadata, err := cast.ToStringMapE(metadata)
if err != nil {
+ jww.ERROR.Println("Error processing archetype file:", location)
return err
}