{{if .HasParent}}
{{$.Parent.Path}}
{{else}}
{{end}}
{{if .IsCode}}
{{.Current}} {{else}}
{{.Current}}/ {{end}}
{{if .IsCode}}
Most similar files:
{{else}}
Contents sorted by activity:
{{end}}
{{range $link := .Links}}
{{if $link.IsCode}}
{{else}}
{{end}}
{{$link.Path}}
(probability: {{$link.Probability}})
{{range $block := $link.Blocks}}
Lines {{$block.FirstLine}}-{{$block.LastLine}}
(probability: {{$block.Probability}})
Keywords:
{{range $keyword := $block.Keywords}}
{{$keyword.Word}} ({{$keyword.Score}})
{{end}}
{{$block.Content}}
{{end}}
{{end}}