func (d *Dir) renderPages(src, dst *content.Dir, force bool) error {
	for _, page := range src.Pages {
		p, err := NewPage(d, page)
		if err != nil {
			return err
		}
		if err = p.Render(src, dst, force); err != nil {
			return err
		}
	}
	return nil
}
// renderPages generates a new page for each of the pages in this directory
renderPages generates a new page for each of the pages in this directory
// renderPages generates a new page for each of the pages in this directory
func (d *Dir) renderPages(src, dst *content.Dir, force bool) error {
	for _, page := range src.Pages {
		p, err := NewPage(d, page)
		if err != nil {
			return err
		}
		if err = p.Render(src, dst, force); err != nil {
			return err
		}
	}
	return nil
}
func ( d * Dir ) renderPages ( src , dst * content . Dir , force bool ) error { for _ , page := range src . Pages { p , err := NewPage ( d , page ) if err != nil { return err } if err = p . Render ( src , dst , force ) ; err != nil { return err } } return nil }
renderPages generates a new page for each of the pages in this directory
renderPages generates a new page for each of the pages in this directory