{{ define "title" }} all strings {{ end }} {{ define "content" }} {{ block "timeline" $ }}{{ end }} {{ end }} {{ define "timeline" }}

All strings

{{ range $i, $s := .Strings }}
{{ if ne $i 0 }}
{{ end }}
{{ template "stringCard" $s }}
{{ end }}
{{ end }} {{ define "stringCard" }}
{{ .Filename }}
{{ with .Description }}
{{ . }}
{{ end }} {{ template "stringCardInfo" . }}
{{ end }} {{ define "stringCardInfo" }} {{ $stat := .Stats }} {{ $resolved := resolve .Did.String }}
{{ template "user/fragments/picHandle" $resolved }} {{ $stat.LineCount }} line{{if ne $stat.LineCount 1}}s{{end}} {{ with .Edited }} edited {{ template "repo/fragments/shortTimeAgo" . }} {{ else }} {{ template "repo/fragments/shortTimeAgo" .Created }} {{ end }}
{{ end }}