{{if .comments}} {{$comment := index .comments 0}}
{{template "repo/diff/commit_comments" dict "root" $ "comments" .comments}}
{{if and $.SignedUserID (not $.Repository.IsArchived)}} {{template "repo/diff/commit_comment_form" dict "hidden" true "root" $}} {{end}}
{{end}}