Comments

{{ $.Scratch.Add "hasComments" 0 }} {{ $entryId := md5 .File.Path }} {{ if .Site.Data.comments }} {{ range $index, $comments := (index $.Site.Data.comments $entryId ) }} {{ $.Scratch.Add "hasComments" 1 }}
user icon
{{ .name }}

{{ .comment | markdownify }}

{{ end }} {{ end }} {{ if eq ($.Scratch.Get "hasComments") 0 }}

Nothing yet.

{{ end }} {{ partial "comments-form.html" . }}