X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=tags.py;h=e1d5dd11eaa625d321a49cff9bbe0249feaffefc;hb=61906da0870ec1610d64943fa0d7c054a9a1d2d4;hp=d8a14f497b7e18a76bc96b3df7a9be2a978d4c33;hpb=2048bdab9fd223397272450758514bc962e8eb30;p=phdru.name%2Fcgi-bin%2Fblog-ru%2Fsearch-tags.git diff --git a/tags.py b/tags.py index d8a14f4..e1d5dd1 100644 --- a/tags.py +++ b/tags.py @@ -61,5 +61,5 @@ def find_tags(tree): _posts.append(( '/'.join((year, month, day, post[0].replace('.tmpl', '.html'))), post[1])) - _posts.sort() + _posts.sort(reverse=True) return _posts