<%= inline_svg_tag("pin.svg", aria: true, class: "crayons-icon mr-2", title: "Pin") %>
Pinned
<% @pinned_stories.each do |story| %>
<%= render "articles/single_story", story: story, featured: false %>
<% end %>
<% end %>
<% @stories.each_with_index do |story, i| %>
<%= render "articles/single_story", story: story, featured: false %>
<% if i == 0 && @comments.present? %>
<%= render "users/comments_section" %>
<% end %>
<% end %>
<% if @stories.none? && @comments.present? %>
<%= render "users/comments_section" %>
<% end %>
<% if @stories.size > 1 %>