Sha256: 305c0f559ccd1fee5b369c83df568514c70e06941ade2a9ee15b62a24b845e69

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

<% content_for(:page_title) do %><%= archives_title %><% end -%>
<h2>Archives</h2>

<% if @months.empty? -%>
	<p>Once posts are added they will start to appear in this archive.</p>
<% else -%>

	<% @months.each do |month| -%>
	<h3><%= format_month(month.date) %></h3>
	<ul class='archive-month'>
	  <% month.posts.each do |post| -%>
	    <li><%= link_to(post.title, post_path(post)) %><% unless post.tags.empty? %> <span class='tags'>(<%= linked_tag_list(post.tags) %>)</span><% end -%></li>
	  <% end -%>
	</ul>
	<% end -%>

<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

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