summaryrefslogtreecommitdiff
path: root/lib/page_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/page_index.rb')
-rw-r--r--lib/page_index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page_index.rb b/lib/page_index.rb
index 585fd57..42c9e21 100644
--- a/lib/page_index.rb
+++ b/lib/page_index.rb
@@ -59,7 +59,7 @@ class IndexPage < LocalPage
unless depth <= 1
ret += "<section><h#{depth}>[#{atom_title}](#{cururl.route_to(url)})</h#{depth}>\n\n"
end
- for page in index_pages.select{|page|not page.is_a?(IndexPage)}.sort_by{|page|page.atom_published}
+ for page in index_pages.select{|page|not page.is_a?(IndexPage)}.sort_by{|page|page.atom_updated}.reverse
ret += page.index_link(cururl, depth+1)
end
ret += "\n"