tinycm rev 95
fic blog archive sorting
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 17 13:49:00 2017 +0100 (2017-02-17) |
parents | 5b8fd5ab20b7 |
children | 345ecf7eee37 |
files | plugins/blog/blog.cgi |
line diff
1.1 --- a/plugins/blog/blog.cgi Fri Feb 17 13:39:44 2017 +0100 1.2 +++ b/plugins/blog/blog.cgi Fri Feb 17 13:49:00 2017 +0100 1.3 @@ -220,7 +220,7 @@ 1.4 blog_tools 1.5 echo "<h2>Blog archives</h2>" 1.6 echo "<pre>" 1.7 - for p in $(ls $blog) 1.8 + for p in $(ls $blog | sort -nr) 1.9 do 1.10 . ${blog}/${p}/post.conf 1.11 echo "\