mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-10 01:05:20 +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 }}
|