{{template "base.html" .}} {{define "title"}}Documents{{end}} {{define "header"}} Documents {{end}} {{define "content"}}
{{range $doc := .Data }}

Title

{{ or $doc.Title "Unknown" }}

Author

{{ or $doc.Author "Unknown" }}

Progress

{{ $doc.CurrentPage }} / {{ $doc.TotalPages }} ({{ $doc.Percentage }}%)

Time Read

{{ NiceSeconds $doc.TotalTimeSeconds }}

{{ if $doc.Filepath }} {{ else }} {{ end }}
{{end}}
{{end}}