{{define "title"}}资源索引 {{end}} {{define "content"}}
{{with $root := .}} {{range $i, $resource := .resources}}
{{.user.Username}} {{.title}} {{if .host}} ({{.host}}) {{end}}

{{.user.Username}} 发布

{{if .cmtnum}} {{.cmtnum}} {{end}}评论 {{.likenum}} 喜欢 {{.viewnum}} 阅读

{{if eq (mod $i 10) 3}} {{if $.pos_ad.feed}}
{{if eq $.pos_ad.feed.AdType 0}} {{noescape $.pos_ad.feed.Code}} {{end}}
{{end}} {{end}} {{else}}

该分类暂时没有任何资源

{{end}} {{end}}
{{if .page}} {{end}}
{{include "common/my_info.html" .}} {{if .pos_ad.right1}} {{end}} {{include "sidebar/view_rank.html" (parseJSON `{"rank_title":"今日阅读排行","objtype":2,"limit":10,"rank_type":"today"}`)}} {{include "sidebar/topic.html" .}} {{include "sidebar/view_rank.html" (parseJSON `{"rank_title":"一周阅读排行","objtype":2,"limit":10,"rank_type":"week"}`)}} {{if .pos_ad.right2}} {{end}}
{{end}} {{define "css"}} {{end}} {{define "js"}} {{if .pos_ad.right1}} {{if eq .pos_ad.right1.AdType 1}} {{noescape .pos_ad.right1.Code}} {{end}} {{end}} {{end}}