% content_for(:page_title) do %><%= posts_title(@tag) %><% end -%> <% content_for(:head) do %><%= auto_discovery_link_tag(:atom, @tag.nil? ? enki.formatted_posts_path(:format => 'atom') : enki.posts_path(:tag => @tag, :format => 'atom')) %><% end -%> <% if @posts.empty? -%>
There are no posts yet.
<% else -%> <% @posts.each do |post| -%>