summary refs log tree commit diff
path: root/ennum.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennum.el')
-rw-r--r--ennum.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/ennum.el b/ennum.el
index 6cd5757..955a0bf 100644
--- a/ennum.el
+++ b/ennum.el
@@ -326,7 +326,16 @@ result as a string."
     (ennum-mkdir-p (file-name-directory output-file))
     (let ((system-time-locale (map-elt (ennum-setting :locale-alist)
                                        (ennum-post-language post) nil 'string=))
-          (ext-plist (list :ennum-translations (ennum-post-translations post)
+          (ext-plist (list :ennum-post-titles
+                           (ennum--filter-map
+                            (lambda (link)
+                              (when (and (ennum-post-link-p link)
+                                         (not (eq (ennum-post-link-target-title link)
+                                                  'not-required)))
+                                (cons (ennum-post-link-path link)
+                                      (ennum-post-link-target-title link))))
+                            (ennum-post-links post))
+                           :ennum-translations (ennum-post-translations post)
                            :ennum-video-posters
                            (ennum--filter-map (lambda (link)
                                                 (when (eq (ennum-link-type link) 'video)