mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-29 07:56:41 +00:00
11 lines
229 B
HTML
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 }}
|