<%= t('comments.heading') %>

<%== link_to(post.title, url_for(:post, slug: post.to_param)) %>

<% if comments.none? %>

<%= t('comments.empty') %>

<% else %> <% end %> <%== paginate(comments, path: ->(page) { "#{url_for(:comments, post_id: post.to_param)}?page=#{page}" }) %>

<%== link_to(t('posts.back_to_list'), url_for(:posts)) %>