Sort blogs by latest date, not earliest date
This commit is contained in:
parent
db9d7169a7
commit
524dba5bc0
|
@ -88,7 +88,7 @@
|
|||
;; Link
|
||||
(defun md4tj-blog-all-blogs-list ()
|
||||
"Get all blogs in current buffer."
|
||||
(-sort (lambda (l1 l2) (< (string-to-number (nth 1 l1)) (string-to-number (nth 1 l2)))) (md4tj-util-zip (list (md4tj-blog-titles) (md4tj-blog-times) (md4tj-blog-links)))))
|
||||
(-sort (lambda (l1 l2) (> (string-to-number (nth 1 l1)) (string-to-number (nth 1 l2)))) (md4tj-util-zip (list (md4tj-blog-titles) (md4tj-blog-times) (md4tj-blog-links)))))
|
||||
|
||||
(defun md4tj-blog-all-blogs-list-elt-to-html (elt)
|
||||
"Convert abl list elt ELT to html."
|
||||
|
|
Loading…
Reference in New Issue