~w96k/at-w96k

3c72e4904a2a8a59881547b9994e4d5e536e103b — Mikhail Kirillov 2 months ago 972a737
format
1 files changed, 6 insertions(+), 6 deletions(-)

M content/articles.org
M content/articles.org => content/articles.org +6 -6
@@ 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))