mlmym/templates/xhr.html
2023-07-05 18:43:54 -04:00

11 lines
229 B
HTML

{{ if or .PostID .CommentID }}
{{ range $i, $comment := .Comments }}
{{ template "comment.html" $comment }}
{{ end }}
{{ else }}
{{ range $post := .Posts }}
{{ template "post.html" $post }}
{{ end }}
{{ end }}