{{ $userinfo := .UserInfo }}
{{ with .Comment }}
<div class="comment" id="c{{ .Xid }}">
<span class="subtlelinks">
{{ if $userinfo }}
<a href="/u/{{ .PersonName }}">{{ .PersonName }}</a>
{{ else }}
{{ .PersonName }}
{{ end }}
on {{ .Date.Local.Format "02 Jan 2006 15:04 -0700" }}
{{ if $userinfo }}
<a href="{{ .Rel }}">#</a>
<a href="/reply?xid={{ .Xid }}">reply</a>
{{ end }}
{{ with .Next }}<a href="#c{{ .Xid }}">next</a>{{ end }}
</span>
<p>{{ .HTContent }}
{{ range .Kids }}
{{ template "fragcomment.html" map "Comment" . "UserInfo" $userinfo }}
{{ end }}
</div>
{{ end }}
