{{ if .website }} {{ .name }} {{ else }} {{ .name }} {{ end }} {{ dateFormat (default (i18n "shortdateFormat") .Site.Params.dateformat) .date}} {{ .comment | markdownify }}
{{ len $comments }} {{ i18n "moreComment" }}
{{ else }}{{ len $comments }} {{ i18n "oneComment" }}
{{ end }} {{ else }}{{ i18n "noComment" }}
{{ end }} {{ $.Scratch.Set "hasComments" 0 }} {{ range $index, $comments := (index $.Site.Data.comments $slug ) }} {{ if not .parent }} {{ $.Scratch.Add "hasComments" 1 }}{{ .name }}
{{ else }}{{ .name }}
{{ end }}{{ .comment | markdownify }}