<%= post.author %>
-
<%= trunc(post.created_utc) |> DateTime.from_unix!() |> DateTime.to_iso8601() %>
-
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 %>