{{ $slug := replace .RelPermalink "/" "" }} {{ if .Site.Data.comments }} {{ $comments := index $.Site.Data.comments $slug }} {{ if $comments }} {{ if gt (len $comments) 1 }}

{{ 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 }}
{{ if .website }}

{{ .name }}

{{ else }}

{{ .name }}

{{ end }}

{{ .comment | markdownify }}

{{ end }} {{ end }} {{ end }}
{{ if .Site.Params.staticman.recaptcha }} {{ end }}
{{ if .Site.Params.staticman.recaptcha }}
{{ end }}