mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -853,7 +853,7 @@ func (s *Site) NewPage(name string) (*Page, error) {
|
|||||||
func (p *Page) ReadFrom(buf io.Reader) (int64, error) {
|
func (p *Page) ReadFrom(buf io.Reader) (int64, error) {
|
||||||
// Parse for metadata & body
|
// Parse for metadata & body
|
||||||
if err := p.parse(buf); err != nil {
|
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
|
return 0, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user