%= raw crawlable_meta_data(title: @topic_view.title, description: @topic_view.summary(strip_images: true), image: @topic_view.image_url, read_time: @topic_view.read_time, like_count: @topic_view.like_count, published_time: @topic_view.published_time) %> <% if @topic_view.prev_page %> <% end %> <% if @topic_view.next_page %> <% end %>
<% @topic_view.posts.each do |post| %> <% if post.user %><% if @topic_view.prev_page %> <%= link_to t(:prev_page), @topic_view.prev_page_path, rel: 'prev' %> <% end %> <% if @topic_view.next_page %> <%= link_to t(:next_page), @topic_view.next_page_path, rel: 'next' %> <% end %>