<% content_for :head, auto_discovery_link_tag(:atom, articles_url(format: "atom")) %>

<div class="container">
  <div class="row">
    <div class="col-md-9">
      <% @posts.each do |post| %>
        <h2><%= link_to post.title, post %></h2>
        <p class='muted'><%= post.created_at.strftime("%b %d, %Y") %></p>
        <p><%= post.excerpt %></p>
        <p><%= link_to "Continue reading →", post %></p>
        <p><%= render 'tags', post: post %></p>
        <hr>
      <% end %>

      <%= paginate @posts %>
    </div>
    <div class="col-md-3">
      <h5>Tags</h5>
      <% tag_cloud Storytime::Post.tag_counts, %w[s m l] do |tag, css_class| %>
        <div><%= link_to tag.name, tag_path(tag.name), class: css_class %></div>
      <% end %>
    </div>
  </div>
</div>
<% content_for :head, auto_discovery_link_tag(:atom, posts_url(format: "atom")) %>

<div class="container">
  <div class="row">
    <div class="col-md-9">
      <% @posts.each do |post| %>
        <h2><%= link_to post.title, post %></h2>
        <p class='muted'><%= post.created_at.strftime("%b %d, %Y") %></p>
        <p><%= post.excerpt %></p>
        <p><%= link_to "Continue reading →", post %></p>
        <p><%= render 'tags', post: post %></p>
        <hr>
      <% end %>

      <%= paginate @posts %>
    </div>
    <div class="col-md-3">
      <h5>Tags</h5>
      <% tag_cloud Storytime::Post.tag_counts, %w[s m l] do |tag, css_class| %>
        <div><%= link_to tag.name, tag_path(tag.name), class: css_class %></div>
      <% end %>
    </div>
  </div>
</div>
Fix reference to articles on atom feed url
Fix reference to articles on atom feed url
