{{T "tag_hub_title"}}
{{.Data.TagName}}
{{T "tag_hub_desc"}}
{{if .Data.Rows}}
{{end}}
{{range .Data.Rows}}
{{if eq .CType "item"}}
{{template "public/browse_item_card" .Card}}
{{else}}
{{template "public/article_browse_item_card" .Card}}
{{end}}
{{end}}
{{if gt .Data.TotalPages 1}}
{{end}}
{{else}}
{{if eq .Data.CType "item"}}{{T "tag_hub_empty_item"}} {{else if eq .Data.CType "article"}}{{T "tag_hub_empty_article"}} {{else}}{{T "tag_hub_empty_all"}}{{end}}
{{if eq .Data.CType "article"}}{{if gt .Data.ItemTotal 0}}{{T "tag_hub_empty_switch_item"}}{{else}}{{T "tag_hub_empty_hint"}}{{end}} {{else if eq .Data.CType "item"}}{{if gt .Data.ArticleTotal 0}}{{T "tag_hub_empty_switch_article"}}{{else}}{{T "tag_hub_empty_hint"}}{{end}} {{else}}{{T "tag_hub_empty_hint"}}{{end}}
{{if eq .Data.CType "article"}}{{if gt .Data.ItemTotal 0}}
{{T "tag_hub_tab_item"}} {{.Data.ItemTotal}}
{{T "tag_hub_tab_all"}}
{{else}}
{{T "tag_hub_sidebar_source"}}
{{T "tag_hub_sidebar_articles"}}
{{end}}
{{else if eq .Data.CType "item"}}{{if gt .Data.ArticleTotal 0}}
{{T "tag_hub_tab_article"}} {{.Data.ArticleTotal}}
{{T "tag_hub_tab_all"}}
{{else}}
{{T "tag_hub_sidebar_source"}}
{{T "tag_hub_sidebar_articles"}}
{{end}}
{{else}}
{{T "tag_hub_sidebar_source"}}
{{T "tag_hub_sidebar_articles"}}
{{end}}