mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-22 13:47:42 +00:00
12 lines
291 B
HTML
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 }}
|