<%= post.title %>
<%= BdfrBrowser.RenderUtils.link_to_user(post.author) %>
-
<%= DateTime.to_iso8601(post.posted_at) %>
-
Open reddit
<%= unless is_nil(post.selftext) do %>
<%= BdfrBrowser.RenderUtils.selftext(post.selftext) %>
<% end %>
<%= 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 when is_nil(comment.parent_id) <- post.comments do %>
<%= EEx.eval_file(comment_template, comment: comment, level: 0, comment_template: comment_template) %>
<% end %>