{{ define "title" }}Recent Comments{{ end }} {{ define "content" }}

Recent Comments

{{ with .V.PagedComments }}

Page {{ .Page }} of {{ .Pages }} ({{ .Total }} total) {{ if or (gt .PreviousPage 0) (gt .NextPage 0) }} [ {{ if gt .NextPage 0 }} Older {{ if gt .PreviousPage 0 }} | {{ end }} {{ end }} {{ if gt .PreviousPage 0 }} Newer {{ end }} ] {{ end }}

{{ range .Comments }} {{ if gt .PostID 0 }}

In post {{ or .Post.Title "Untitled" }}:

{{ else if .OriginURL }}

On page {{ .OriginURL }}:

{{ end }} {{ RenderComment $.ResponseWriter $.Request . "/comments" false }} {{ end }} {{ end }} {{ end }}