func (s *Section) renderCategories(src, dst *content.Dir, force bool) error {
	for _, config := range s.Config.Categories {
		category, err := NewCategory(s, config)
		if err != nil {
			return err
		}
		if err = category.Render(src, dst, force); err != nil {
			return err
		}
	}
	return nil
}
// renderCategories iterates through each category and renders as needed
renderCategories iterates through each category and renders as needed
// renderCategories iterates through each category and renders as needed
func (s *Section) renderCategories(src, dst *content.Dir, force bool) error {
	for _, config := range s.Config.Categories {
		category, err := NewCategory(s, config)
		if err != nil {
			return err
		}
		if err = category.Render(src, dst, force); err != nil {
			return err
		}
	}
	return nil
}
func ( s * Section ) renderCategories ( src , dst * content . Dir , force bool ) error { for _ , config := range s . Config . Categories { category , err := NewCategory ( s , config ) if err != nil { return err } if err = category . Render ( src , dst , force ) ; err != nil { return err } } return nil }
renderCategories iterates through each category and renders as needed
renderCategories iterates through each category and renders as needed