{{ if .website }} {{ .name }} {{ else }} {{ .name }} {{ end }} {{ dateFormat (default (i18n "shortdateFormat") .Site.Params.dateformat) .date}} {{ .comment | markdownify }}
Comments
{{ $slug := replace .URL "/" "" }} {{ $.Scratch.Add "hasComments" 0 }} {{ range $index, $comments := (index $.Site.Data.comments $slug ) }} {{ if eq $index "0" }} {{ range $comments}} {{ $.Scratch.Add "hasComments" 1 }}{{ .name }}
{{ else }}{{ .name }}
{{ end }}{{ .comment | markdownify }}