mlmym/templates/xhr.html

12 lines
291 B
HTML
Raw Normal View History

2023-07-05 22:34:46 +00:00
{{ if or .PostID .CommentID }}
2023-06-30 19:41:35 +00:00
{{ range $i, $comment := .Comments }}
{{ template "comment.html" $comment }}
{{ end }}
{{ else if .Activities }}
{{ template "activities.html" . }}
2023-06-30 19:41:35 +00:00
{{ else }}
{{ range $post := .Posts }}
{{ template "post.html" $post }}
{{ end }}
{{ end }}