From 7a54dbd769583792a3ef7f82f506d28b2881c0bc Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Sun, 14 Apr 2024 19:12:41 -0500 Subject: move date out of link --- publish.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'publish.el') diff --git a/publish.el b/publish.el index 39a565c..2437b31 100644 --- a/publish.el +++ b/publish.el @@ -12,10 +12,10 @@ (defun my/org-publish-org-sitemap-format (entry style project) "custom sitemap entry formatting: add date" (cond ((not (directory-name-p entry)) - (format "[[file:%s][(%s) %s]]\n" - entry + (format "(%s)[[file:%s][%s]]\n" (format-time-string "%Y-%m-%d" (org-publish-find-date entry project)) + entry (org-publish-find-title entry project))))) (setq org-publish-project-alist -- cgit v1.2.3