shithub: hugo

Download patch

ref: e127a5cb7d91aabc3df36e70123967a35df7aabf
parent: 3cec04e0d2bdcbeae0ce1a59d55f759f61c8a3aa
author: Brian Payne <[email protected]>
date: Sun Nov 2 12:29:55 EST 2014

Added better error message for poorly formed frontmatters in archtypes

--- a/create/content.go
+++ b/create/content.go
@@ -57,6 +57,7 @@
 	}
 	newmetadata, err := cast.ToStringMapE(metadata)
 	if err != nil {
+		jww.ERROR.Println("Error processing archetype file:", location)
 		return err
 	}