@@ 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))