From e64050035dc9d3c810e14c205688a54393dd7b43 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 31 Dec 2016 23:16:24 -0700 Subject: indexes --- bin/index.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/index.md.erb') diff --git a/bin/index.md.erb b/bin/index.md.erb index 392447e..a9419ba 100644 --- a/bin/index.md.erb +++ b/bin/index.md.erb @@ -2,5 +2,5 @@ title: "<%= @path %>" --- -<% @pages.sort_by{|a|a.published}.each do |a| %> - * - [<%= a.title %>](./<%= a.slug %>.html) (last updated )<% end %> +<% @pages.sort_by{|a|a.published}.reverse.each do |a| %> + * - [<%= a.title %>](<%= a.url %>) (last updated )<% end %> -- cgit v1.2.3-2-g168b