aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-04-14 19:12:41 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-04-14 19:12:41 -0500
commit7a54dbd769583792a3ef7f82f506d28b2881c0bc (patch)
tree97679dccccdd2f0e0a8bc5c6df7a96bae715fea6
parent88f9648544abba9d8acb21d43b8a6e2e9cb4410e (diff)
move date out of link
-rw-r--r--publish.el4
1 files changed, 2 insertions, 2 deletions
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