mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Link to posts on the front page
This commit is contained in:
parent
728633b1a4
commit
99fbc65ce8
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
<%= render 'header' %>
|
<%= render 'header' %>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<% sorted_articles[0..9].each do |article| %>
|
<% sorted_articles[0..9].each do |article| %>
|
||||||
<h1><%= article.attributes[:title] %></h1>
|
<h1><a href="<%= article.reps.first.path %>"><%= article[:title] %></a></h1>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<%= render 'footer' %>
|
<%= render 'footer' %>
|
||||||
|
|
Loading…
Reference in a new issue