From d0c7b3114734765165be773945a14eec58faf352 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 13 Mar 2020 18:21:43 +0530 Subject: Publish interlanguage links only if there are translations. * ennu-html.el (ennu-html-inner-template): Publish interlanguage links only if there are translations. --- ennu-html.el | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/ennu-html.el b/ennu-html.el index f78f357..93dc221 100644 --- a/ennu-html.el +++ b/ennu-html.el @@ -231,18 +231,19 @@ :datetime ,(org-export-get-date info "%Y-%m-%d 12:00:00") ,(org-export-get-date info "%B %d, %Y")))))))) ;; Interlanguage language links - (format "
In other languages: %s
" - (mapconcat - (lambda (translation) - (let ((lang (ennu-post-language translation)) - (slug (ennu-post-slug translation))) - (replace-regexp-in-string - "In other languages: %s" + (mapconcat + (lambda (translation) + (let ((lang (ennu-post-language translation)) + (slug (ennu-post-slug translation))) + (replace-regexp-in-string + "Tags: %s" (mapconcat -- cgit v1.2.3