<% provide(:title, translated_attribute(post.title)) %> <% add_decidim_meta_tags({ title: translated_attribute(post.title), description: translated_attribute(post.body), url: post_url(post.id) }) %> <% edit_link( resource_locator(post).edit, :update, :blogpost, blogpost: post ) %>
<%= link_to :posts, class: "small hollow" do %> <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %> <%= t(".back") %> <% end %>

<%= translated_attribute post.title %>

<% post_presenter = Decidim::Blogs::PostPresenter.new(post) %> <%= cell "decidim/author", post_presenter.author, from: post %>
<% if show_endorsements_card? %>
<% if endorsements_enabled? %>
<%= endorsement_buttons_cell(post) %>
<% end %>
"> <%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %> <%= icon "comment-square", class: "icon--small", aria_label: t(".comments"), role: "img" %> <%= post.comments_count %> <% end %>

<%= follow_button_for(post) %>
<% end %>
">
<%= decidim_sanitize_editor translated_attribute post.body %>
<%= cell "decidim/endorsers_list", post %>
<%= attachments_for post %> <%= comments_for post %>