Sha256: b111c79bbf6917dd2555cbe87aa4ca14ddd9f867f9aea6c112c8a2844b37ce2e

Contents?: true

Size: 659 Bytes

Versions: 4

Compression:

Stored size: 659 Bytes

Contents

<% 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? -%>
	<p>There are no posts yet.</p>
<% else -%>
	<% @posts.each do |post| -%>
	<div class="post post-<%= post.id %>">
	  <%= render :partial => 'enki/posts/post', :locals => {:post => post} %>
	</div>
	<% end -%>
  <% if more_content? -%>
    <div class="related">Looking for more? Head on over to the <%= link_to("archives", enki.archives_path) %>.</div>
  <% end -%>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/views/enki/posts/index.html.erb
enki-engine-0.0.4 app/views/enki/posts/index.html.erb
enki-engine-0.0.3 app/views/enki/posts/index.html.erb
enki-engine-0.0.2 app/views/enki/posts/index.html.erb