diff options
author | Arun Isaac | 2019-09-02 22:44:48 +0530 |
---|---|---|
committer | Arun Isaac | 2019-09-02 22:44:48 +0530 |
commit | 731fbd4a17602913ca59bc9a9696fde050e70771 (patch) | |
tree | 0005570c4400cb32a52023dda4b936567a8ee701 /ennu.el | |
parent | 7d1caecd898ba44fbe2e287a3d59fd15d7ea9cc7 (diff) | |
download | ennum-731fbd4a17602913ca59bc9a9696fde050e70771.tar.gz ennum-731fbd4a17602913ca59bc9a9696fde050e70771.tar.lz ennum-731fbd4a17602913ca59bc9a9696fde050e70771.zip |
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.
Diffstat (limited to 'ennu.el')
-rw-r--r-- | ennu.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |