{{ extends "layouts/index_site" }} {{ import "layouts/partials/helpers/search" }} {{block title()}}{{ T("home")}}{{end}} {{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}} {{block additional_header()}} {{end}} {{block content_body()}} {{if Search.ShowRefine}} {{yield search_refine()}} {{end}}
{{ if User.HasAdmin() }} {{end}} {{ range Models}} {{ if User.HasAdmin() }} {{ end }} {{if .LastScrape.IsZero}} {{else}} {{end}} {{end}}
{{ T("category")}} {{ T("name")}}{{ genSortArrows(URL, "1")|raw }} {{ T("size")}}{{ genSortArrows(URL, "4")|raw }} {{ T("S")}}{{ genSortArrows(URL, "5")|raw }} {{ T("L")}}{{ genSortArrows(URL, "6")|raw }} {{ T("D")}}{{ genSortArrows(URL, "7")|raw }} {{ T("date")}}{{ genSortArrows(URL, "2")|raw }}
{{ if Sukebei }}
{{ else}}
{{.Name}} {{ if len(.Comments) > 0 }} {{len(.Comments)}} {{end}} {{ fileSize(.Filesize, T) }} {{ T("unknown")}}{{.Seeders}} {{.Leechers}} {{.Completed}}{{.Date}}
{{ if User.HasAdmin() }}
{{end}} {{end}} {{ block footer_js()}} {{ if User.HasAdmin() }} {{end}} {{end}}