From 99b451aa472ede0d64ab8a5bb97382356c4d3353 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 31 Jul 2020 03:07:37 +0530 Subject: Specify post title explicitly in the link description. Index generation uses the html backend, and cannot access the special post link of the ennum-html backend. * ennum.el (ennum-publish-index): During index generation, specify post title explicitly in the link description. --- ennum.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ennum.el b/ennum.el index bcc9019..0619e04 100644 --- a/ennum.el +++ b/ennum.el @@ -226,7 +226,7 @@ non-nil, include directories in the output." (insert (format "#+LANGUAGE: %s\n" tongue)) (insert "#+OPTIONS: num:nil toc:nil\n\n") (seq-do (lambda (post) - (insert (format "* [[post:%s]]\n" (ennum-post-slug post))) + (insert (format "* [[post:%s][%s]]\n" (ennum-post-slug post))) (insert (format-time-string "/%b %e, %Y/\n\n" (ennum-post-date post))) (when-let ((thumbnail (ennum-post-thumbnail post))) (insert (format "[[thumbnail:%s]]\n\n" thumbnail))) -- cgit v1.2.3