{{template "widgets/head.html" .}}
{{template "widgets/header.html" .}}
{{range $idx,$cate:=.Cates}} {{if and (eq $cate.Pid 0) (gt $cate.Cnt 0)}}
{{range $idx1,$children:=$.Cates}} {{if and (gt $children.Cnt 0) (eq $cate.Id $children.Pid)}} {{end}} {{end}}
{{end}} {{end}}
{{template "widgets/footer.html" .}}