aboutsummaryrefslogtreecommitdiff
path: root/ennu-html.el
diff options
context:
space:
mode:
Diffstat (limited to 'ennu-html.el')
-rw-r--r--ennu-html.el7
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))