mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +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' %>
|
||||
<div id="main">
|
||||
<% sorted_articles[0..9].each do |article| %>
|
||||
<h1><%= article.attributes[:title] %></h1>
|
||||
<h1><a href="<%= article.reps.first.path %>"><%= article[:title] %></a></h1>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= render 'footer' %>
|
||||
|
|
Loading…
Reference in a new issue