diff options
author | Arun Isaac | 2020-03-13 23:31:25 +0530 |
---|---|---|
committer | Arun Isaac | 2020-03-13 23:31:25 +0530 |
commit | 754e1d61e476145e69b32b3879daf78c2b83d554 (patch) | |
tree | e71a0637efb125f7a36f27607cd95d67cfca8336 /ennu-html.el | |
parent | 541c50ac77de673c8039c83dde409e4524787faf (diff) | |
download | ennum-754e1d61e476145e69b32b3879daf78c2b83d554.tar.gz ennum-754e1d61e476145e69b32b3879daf78c2b83d554.tar.lz ennum-754e1d61e476145e69b32b3879daf78c2b83d554.zip |
Pass backend name to export functions.
* ennu-html.el (ennu-html-inner-template): Pass backend name, not
backend to export functions ennu-export-post and ennu-export-tag.
Diffstat (limited to 'ennu-html.el')
-rw-r--r-- | ennu-html.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ennu-html.el b/ennu-html.el index 93dc221..28a4a6b 100644 --- a/ennu-html.el +++ b/ennu-html.el @@ -241,7 +241,8 @@ "<a " (format "<a hreflang=\"%s\" " lang) (ennu-export-post slug (map-elt ennu--iso-639-1-alist lang nil 'string=) - (plist-get info :back-end))))) + (org-export-backend-name + (plist-get info :back-end)))))) translations ", "))) ;; Tags @@ -251,8 +252,8 @@ (replace-regexp-in-string "<a " "<a class=\"p-category\" " (ennu-export-tag (ennu-add-tongue-suffix tag (plist-get info :language)) - tag (plist-get info :backend)))) - (plist-get info :filetags) ", ")) + tag (org-export-backend-name (plist-get info :back-end))))) + tags ", ")) ;; Summary (format "<div class=\"p-summary\">%s</div>" (org-export-data (plist-get info :summary) info)) |