mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 06:16:06 +00:00
1 file changed
+1
-1
+1
-1
@@ -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