%= tag.article id: "post_#{post.id}", **article_attrs do -%>
<%= link_to polymorphic_path(link_target, q: tags) do -%>
<%= link_to pool.pretty_name.truncate(80), pool %>
<% end -%> <% if similarity -%><% if post.source =~ %r!\Ahttps?://!i %> <%= external_link_to post.normalized_source, post.source_domain %> (<%= time_ago_in_words_tagged(post.created_at, compact: true) %>) <% else %> <%= time_ago_in_words_tagged(post.created_at, compact: true) %> <% end %>
<% end %> <% if size -%><%= link_to number_to_human_size(size), post.file_url %> (<%= post.image_width %>x<%= post.image_height %>)
<% end -%> <% if similarity -%><%= link_to "#{similarity}%", iqdb_queries_path(post_id: post.id) %> similarity
<% end -%> <% if recommended -%>
<%= link_to recommended_posts_path(search: { post_id: post.id }), class: "more-recommended-posts", "data-post-id": post.id do %>
<%= post.fav_count %>
<%= empty_heart_icon(class: "fa-xs") %>
more ยป
<% end %>