mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-25 22:53:14 +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 }}
|