diff options
author | Arun Isaac | 2020-07-31 03:07:37 +0530 |
---|---|---|
committer | Arun Isaac | 2020-07-31 03:07:37 +0530 |
commit | 99b451aa472ede0d64ab8a5bb97382356c4d3353 (patch) | |
tree | 95653becfa192a6d0eab8de48b442b34a30b63d1 | |
parent | 87058b55a053fea2fb40e886f134a5f263f6b90a (diff) | |
download | ennum-99b451aa472ede0d64ab8a5bb97382356c4d3353.tar.gz ennum-99b451aa472ede0d64ab8a5bb97382356c4d3353.tar.lz ennum-99b451aa472ede0d64ab8a5bb97382356c4d3353.zip |
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.
-rw-r--r-- | ennum.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |