mlmym/templates/xhr.html
2023-07-12 11:23:13 -04:00

12 lines
291 B
HTML

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