diff options
-rw-r--r-- | content/articles.org | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/articles.org b/content/articles.org index f46fc9d..335ae19 100644 --- a/content/articles.org +++ b/content/articles.org @@ -10,9 +10,9 @@ (insert-file-contents filePath) (split-string (buffer-string) "\n" t))) -;; Sort by modified date -(setq list-of-posts (sort (directory-files-and-attributes "./en/posts" nil ".org$") - #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) + ;; Sort by modified date + (setq list-of-posts (sort (directory-files-and-attributes "./en/posts" nil ".org$") + #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) (defun make-links (str) (setq file-name (car str)) @@ -36,9 +36,9 @@ (insert-file-contents filePath) (split-string (buffer-string) "\n" t))) -;; Sort by modified date -(setq list-of-posts (sort (directory-files-and-attributes "./posts" nil ".org$") - #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) + ;; Sort by modified date + (setq list-of-posts (sort (directory-files-and-attributes "./posts" nil ".org$") + #'(lambda (x y) (time-less-p (nth 6 y) (nth 6 x))))) (defun make-links (str) (setq file-name (car str)) |