func (p *Page) Update() (err error) {
	if err = p.updateContent(); err != nil {
		return err
	}
	if err = p.meta.Open(os.O_RDONLY); err != nil {
		if !os.IsNotExist(err) {
			return
		}
		err = nil
		return
	}
	defer p.meta.Close()
	dec := yaml.NewDecoder(p.meta)
	err = dec.Decode(p)
	return
}
// Update re-reads the content and metadata for this PAge
Update re-reads the content and metadata for this PAge
// Update re - reads the content and metadata for this PAge
func (p *Page) Update() (err error) {
	if err = p.updateContent(); err != nil {
		return err
	}
	if err = p.meta.Open(os.O_RDONLY); err != nil {
		if !os.IsNotExist(err) {
			return
		}
		err = nil
		return
	}
	defer p.meta.Close()
	dec := yaml.NewDecoder(p.meta)
	err = dec.Decode(p)
	return
}
func ( p * Page ) Update ( ) ( err error ) { if err = p . updateContent ( ) ; err != nil { return err } if err = p . meta . Open ( os . O_RDONLY ) ; err != nil { if ! os . IsNotExist ( err ) { return } err = nil return } defer p . meta . Close ( ) dec := yaml . NewDecoder ( p . meta ) err = dec . Decode ( p ) return }
Update re-reads the content and metadata for this PAge
Update re - reads the content and metadata for this PAge