<%= t('posts.featured_badge') %>
<% end %> <% if featured_only && post.featured && user_signed_in? && current_user.id == post.user_id %><% unless post.first_in_list? %> <%== button_to(t('posts.move_up'), url_for(:move_up_post, slug: post.to_param), method: :patch) %> <% end %> <% unless post.last_in_list? %> <%== button_to(t('posts.move_down'), url_for(:move_down_post, slug: post.to_param), method: :patch) %> <% end %>
<% end %> <% if post.cover %><%= post.body %>
<%= t('posts.comments_count', count: post.comments_count) %>
<%= t('posts.last_activity', when: l(post.updated_at)) %>
<%== link_to(t('posts.read_more'), url_for(:post, slug: post.to_param)) %>