mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
a96ad5c211
commit
d681ea55a0
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ func (s *Site) NewPage(name string) (*Page, error) {
|
|||
func (p *Page) ReadFrom(buf io.Reader) (int64, error) {
|
||||
// Parse for metadata & body
|
||||
if err := p.parse(buf); err != nil {
|
||||
p.s.Log.ERROR.Print(err)
|
||||
p.s.Log.ERROR.Printf("%s for %s", err, p.File.Path())
|
||||
return 0, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue