{{.Name}}
Uploaded by {{.UploaderName}}
{{T "description"}}
{{.Description}}
{{T "hash"}}
{{.Hash}}
{{T "date"}}
{{.Date}}
{{T "size"}}
{{.Filesize}}
{{if ne .WebsiteLink ""}}
{{T "Link"}}
{{end}}
{{T "seeders"}}
{{T "leechers"}}
{{T "completed"}}
{{.Seeders}}
{{.Leechers}}
{{.Completed}}
{{T "comments"}}
{{ range $index, $element := .Comments }}-
{{/* The following line is wrong. Should be using the MD5 User hash but i don't knwo how to access it. */}}
{{if eq .UserID -1}}
#{{$index}} by {{.Username}}
{{else}}
#{{$index}}
by {{.Username}}
{{end}}
{{ .Date.Format ( Ts "date_format" ) }}
{{/* output: "2017-05-01 15:30"
Went with "Year-Month-Day" because it's the most unambiguous.
If you want it to be determined by where you're from, be my guest. */}}
{{.Content}}
{{end}}