func NewSection(site *Site, name string, conf *config.Section) (section *Section, err error) {
	tmpls, err := site.tmpls.Sub(name)
	if err != nil {
		return
	}
	section = &Section{
		Site:   site.Config,
		Config: conf,
		name:   name,
		layout: site.layout,
		tmpls:  tmpls,
	}
	return
}
// NewSection creates a new Section
NewSection creates a new Section
// NewSection creates a new Section
func NewSection(site *Site, name string, conf *config.Section) (section *Section, err error) {
	tmpls, err := site.tmpls.Sub(name)
	if err != nil {
		return
	}
	section = &Section{
		Site:   site.Config,
		Config: conf,
		name:   name,
		layout: site.layout,
		tmpls:  tmpls,
	}
	return
}
func NewSection ( site * Site , name string , conf * config . Section ) ( section * Section , err error ) { tmpls , err := site . tmpls . Sub ( name ) if err != nil { return } section = & Section { Site : site . Config , Config : conf , name : name , layout : site . layout , tmpls : tmpls , } return }
NewSection creates a new Section
NewSection creates a new Section