Sha256: b38b52a2ad1584ff711fb1969ab7ab29e2fac894dfc51643dffde0c27c465380

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

<% content_for :meta_title, 'Home' %>

<% unless @posts.blank? %>
  <% for post in @posts %>
		<div class="individual-post">
	    <h1><%= link_to post.title, post %></h1>
			<p class="meta-info">by <%= post.author.name %> on <%= l post.published_at, format: :default %> | <%= link_to 'Permalink.', post %></p>
			<%= raw post.body %>
		</div>
  <% end %>
<% end %>

<%= will_paginate @posts %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tkh_content-0.1.9.2 app/views/blog/index.html.erb
tkh_content-0.1.9.1 app/views/blog/index.html.erb
tkh_content-0.1.9 app/views/blog/index.html.erb
tkh_content-0.1.8 app/views/blog/index.html.erb
tkh_content-0.1.7 app/views/blog/index.html.erb
tkh_content-0.1.6 app/views/blog/index.html.erb
tkh_content-0.1.5 app/views/blog/index.html.erb
tkh_content-0.1.4 app/views/blog/index.html.erb