<h1>Main page</h1>
<% @articles.each do |article| %>
	<h3>
		<%= article.title %>
	</h3>
	<p>
		<%= article.text %>
	</p>
	<p>
		Created at <%= article.created_at %>
	</p>
	<hr/>
<% end %>

<h1>Main page</h1>
<% @articles.each do |article| %>
	<h3>
		<%= link_to article.title, article_path(article) %>
	</h3>
	<p>
		<%= article.text %>
	</p>
	<p>
		Created at <%= article.created_at %>
	</p>
	<hr/>
<% end %>

Make articl title as link
Make articl title as link
