func (c *Category) applyTemplates() (out string, err error) {
	var content strings.Builder
	if err = c.template.Execute(&content, c); err != nil {
		return
	}
	c.Page.Content = content.String()
	content.Reset()
	if err = c.layout.Execute(&content, c); err != nil {
		return
	}
	out = content.String()
	return
}
// applyTemplates generates HTML for this Index, using the specified templates
applyTemplates generates HTML for this Index, using the specified templates
// applyTemplates generates HTML for this Index using the specified templates
func (c *Category) applyTemplates() (out string, err error) {
	var content strings.Builder
	if err = c.template.Execute(&content, c); err != nil {
		return
	}
	c.Page.Content = content.String()
	content.Reset()
	if err = c.layout.Execute(&content, c); err != nil {
		return
	}
	out = content.String()
	return
}
func ( c * Category ) applyTemplates ( ) ( out string , err error ) { var content strings . Builder if err = c . template . Execute ( & content , c ) ; err != nil { return } c . Page . Content = content . String ( ) content . Reset ( ) if err = c . layout . Execute ( & content , c ) ; err != nil { return } out = content . String ( ) return }
applyTemplates generates HTML for this Index, using the specified templates
applyTemplates generates HTML for this Index using the specified templates