{{ range $file := .files }}
{{ if $file.Truncated }}
{{ $.locale.Tr "gist.file-truncated" }} {{ $.locale.Tr "gist.watch-full-file" }}
{{ end }} {{ $csv := csvFile $file.File }} {{ if $csv }} {{ range $csv.Header }} {{ end }} {{ range $csv.Rows }} {{ range . }} {{ end }} {{ end }}
{{ . }}
{{ . }}
{{ else if isMarkdown $file.Filename }}
{{ $file.HTML | safe }}
{{ else if isSvg $file.Filename }}
{{ $file.HTML | safe }}
{{ else }}
{{ $fileslug := slug $file.Filename }} {{ if ne $file.Content "" }} {{ $ii := "1" }} {{ $i := toInt $ii }} {{ range $line := $file.Lines }}{{ $i = inc $i }}{{ end }}
{{$i}}{{ $line | safe }}
{{ end }}
{{ end }}
{{ end }}