{{define "title"}}{{t "Files"}} · {{.Blog.Title}}{{end}} {{define "content"}} {{$b := .Blog.Subdomain}}

{{t "Files"}}

{{t "Files are stored with your blog. Put one in a post with"}} {{t "Insert file"}} {{t "in the editor, or copy its line from the table."}} {{tf "%d files, %s in use." .Data.count (size .Data.bytes)}}

{{t "All"}} {{range .Data.kinds}}{{t (index $.Data.kindNames .)}}{{end}} {{if .Data.kind}}{{end}}
{{if .Data.files}} {{range .Data.files}}{{end}}
{{t "Name"}}{{t "Kind"}}{{t "Size"}}{{t "Date"}}Markdown
{{if eq .Kind "image"}}{{else}}{{.Badge}}{{end}} {{.Filename}}
{{t "rename"}}
{{t (index $.Data.kindNames .Kind)}} {{size .Size}} {{date .CreatedAt}} {{t "download"}} ·
{{else if or .Data.q .Data.kind}}

{{t "No files match."}}

{{else}}

{{t "No files yet."}}

{{end}}
{{if gt .Data.lastPage 1}}
{{if gt .Data.pageNum 1}}← {{t "Newer"}}{{end}} {{tf "Page %d of %d" .Data.pageNum .Data.lastPage}} {{if lt .Data.pageNum .Data.lastPage}}{{t "Older"}} →{{end}}
{{end}} {{end}}