summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/document-listing.tt8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/document-listing.tt b/templates/document-listing.tt
index 9cf4775..c42f961 100644
--- a/templates/document-listing.tt
+++ b/templates/document-listing.tt
@@ -1,12 +1,14 @@
[% docs = [];
FOR doc IN tagged.$path;
IF isLang(language,doc);
- docs.push(doc);
+ uri=dstUriFor(doc);
+ dates=datesFor(language,'',uri);
+ docs.push({'uri'=>uri,'creation'=>dates.creation});
END;
END -%]
[% IF docs.size > 0 %]
.. class:: doc-tag-list
-[% FOR doc IN docs %]
-* `<[% dstUriFor(doc) %]>`_
+[% FOR doc IN docs.sortf('creation') %]
+* `<[% doc.uri %]>`_
[% END; END %]