mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-22 21:49:23 +00:00
11 lines
218 B
HTML
11 lines
218 B
HTML
|
{{ if .CommentID }}
|
||
|
{{ range $i, $comment := .Comments }}
|
||
|
{{ template "comment.html" $comment }}
|
||
|
{{ end }}
|
||
|
{{ else }}
|
||
|
{{ range $post := .Posts }}
|
||
|
|
||
|
{{ template "post.html" $post }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|