<%= post.author %>
-
<%= DateTime.to_iso8601(post.posted_at) %>
-
Open reddit
<%= unless Enum.empty?(media.images) do %>
<%= for {img, i} <- Enum.with_index(media.images) do %>
">
<% end %>
<% end %>
<%= unless Enum.empty?(media.videos) do %>
<%= for video <- media.videos do %>
<% end %>
<% end %>
<%= for comment <- post.comments do %>
<%= EEx.eval_file(comment_template, comment: comment, level: 0, comment_template: comment_template) %>
<% end %>