{{ extends "layouts/index_site" }} {{ import "layouts/partials/helpers/search" }} {{block title()}}{{ T("home")}}{{end}} {{block contclass()}}{{if User.HasAdmin() }}content-admin{{end}}{{end}} {{block content_body()}} {{ if OldNav || Theme == "classic"}} {{ include "layouts/partials/helpers/oldNav" }} {{ end }}
{{ if User.HasAdmin() }} {{end}} {{ range Models}} {{ if User.HasAdmin() }} {{ end }} {{ if len(.Comments) > 0 }} {{ end }} {{if .LastScrape.IsZero || formatDateRFC(.LastScrape) == "0001-01-01T00:00:00Z"}} {{else}} {{end}} {{end}}
{{ T("category")}} {{ T("name")}} {{ genSortArrows(URL, "1")|raw }} Msg {{ 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 .Languages[0] != "" }} {{ range key, language := .Languages }}{{ LanguageNameFromCode(language, T) }}{{ if len(.Languages) > 1 && (key+1) < len(.Languages) }},{{ end }}{{ end }} {{end}}
{{.Name}} {{len(.Comments)}} {{ fileSize(.Filesize, T) }} - - -{{.Seeders}} {{.Leechers}} {{.Completed}}{{.Date}}
{{ if !EUCookieLaw }}{{ end }} {{ if User.HasAdmin() }}
{{end}} {{end}} {{ block footer_js()}} {{ if User.HasAdmin() }} {{end}} {{ include "layouts/partials/torrent_item" }} {{end}}