summaryrefslogtreecommitdiff
path: root/tmpl/index.md.erb
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/index.md.erb')
-rw-r--r--tmpl/index.md.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmpl/index.md.erb b/tmpl/index.md.erb
index 680647d..2febcb5 100644
--- a/tmpl/index.md.erb
+++ b/tmpl/index.md.erb
@@ -3,5 +3,4 @@ title: "<%= atom_title %>"
class: "index"
---
-<% index_pages.sort_by{|a|a.atom_published}.reverse.each do |a| %>
- * <span><a <% if a.is_a?(RemotePage) %>class="external" <% end %>href="<%= Config::get.url.route_to(a.url) %>" title="Published on <%= a.atom_published.strftime('%Y-%m-%d') %><% if a.atom_updated != a.atom_published %> (updated on<%= a.atom_updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %></a></span><span><% a.atom_categories.each do |t| %><%= t.html %><% end %></span><% end %>
+<%= index_link(url, 1) %>