mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Revert "Quick-and-dirty way to print details of template errors"
This reverts commit 42b33102cf.
			
			
This commit is contained in:
		@@ -1154,7 +1154,6 @@ func (t *GoHtmlTemplate) AddInternalShortcode(name, content string) error {
 | 
			
		||||
func (t *GoHtmlTemplate) AddTemplate(name, tpl string) error {
 | 
			
		||||
	_, err := t.New(name).Parse(tpl)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		jww.ERROR.Println(err)
 | 
			
		||||
		t.errors = append(t.errors, &templateErr{name: name, err: err})
 | 
			
		||||
	}
 | 
			
		||||
	return err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user