diff options
author | Brian Payne <[email protected]> | 2014-11-02 17:29:55 -0800 |
---|---|---|
committer | spf13 <[email protected]> | 2014-11-13 12:36:47 -0500 |
commit | e127a5cb7d91aabc3df36e70123967a35df7aabf (patch) | |
tree | 9b600a48f78548e6bd5dc508ff1f1f5ea4aae75e /create | |
parent | 3cec04e0d2bdcbeae0ce1a59d55f759f61c8a3aa (diff) | |
download | hugo-e127a5cb7d91aabc3df36e70123967a35df7aabf.tar.gz hugo-e127a5cb7d91aabc3df36e70123967a35df7aabf.zip |
Added better error message for poorly formed frontmatters in archtypes
Diffstat (limited to 'create')
-rw-r--r-- | create/content.go | 1 |
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 } |