author | Alan Dipert
<alan@dipert.org> 2019-11-15 03:36:42 UTC |
committer | Alan Dipert
<alan@dipert.org> 2019-11-15 03:36:42 UTC |
parent | 8413a0d1543745f5bec018f75b285022eb70ee78 |
scripts/gen.el | +1 | -1 |
diff --git a/scripts/gen.el b/scripts/gen.el index be82b3b..cbcc23c 100755 --- a/scripts/gen.el +++ b/scripts/gen.el @@ -80,7 +80,7 @@ returns the result of body." (cl-defun posts (posts-dir) "Returns a list of alists of post metadata, in chronological order." - (cl-sortn + (cl-sort (mapcar (lambda (post) (let* ((md-path (concat (file-name-as-directory posts-dir) post)) (meta (json-read-from-string (blog-command-meta-json md-path)))