From 731fbd4a17602913ca59bc9a9696fde050e70771 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 2 Sep 2019 22:44:48 +0530 Subject: Specify tag language suffix in tag links. * ennu-html.el (ennu-html-inner-template): Specify tag language suffix in tag links. * ennu.el (ennu-publish-index): Specify tag language suffix in tag links. --- ennu.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ennu.el') diff --git a/ennu.el b/ennu.el index 977771c..9a4adfa 100644 --- a/ennu.el +++ b/ennu.el @@ -188,9 +188,11 @@ last form in BODY." (when-let ((tags (ennu-post-tags post))) (insert "Tags: ") (insert - (string-join (seq-map (apply-partially 'format "[[tag:%s]]") - tags) - ", ")) + (string-join + (seq-map (lambda (tag) + (format "[[tag:%s][%s]]" (ennu-add-tongue-suffix tag tongue) tag)) + tags) + ", ")) (insert "\n\n"))) posts) (unless (= page-number 1) -- cgit v1.2.3