<%= post.title %>
<%= BdfrBrowser.RenderUtils.link_to_user(post.author) %>
-
<%= BdfrBrowser.RenderUtils.format_date(post.posted_at, :long) %>
-
<%= Float.round(post.upvote_ratio * 100, 1) %>%
-
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 %>