summaryrefslogtreecommitdiff
path: root/ennu-html.el
AgeCommit message (Collapse)Author
2020-07-18Rename ennu to ennum.Arun Isaac
* ennu.el: Rename to ... * ennum.el: ... this. Replace all instances of ennu with ennum. * ennu-html.el: Rename to ... * ennum-html.el: ... this. Replace all instances of ennu with ennum. * ennu-image.el: Rename to ... * ennum-image.el: ... this. Replace all instances of ennu with ennum.
2020-07-10Percent encode URIs.Arun Isaac
* ennu-html.el (ennu-html-link, ennu-export-post, ennu-export-thumbnail, ennu-export-video, ennu-export-static, ennu-export-tag): Percent encode URIs.
2020-07-09Remove file:// scheme from data attribute.Arun Isaac
SVG images displayed using the object element specify the URI in the data attribute. * ennu-html.el (ennu-html-link): Remove file:// scheme from data attribute as well, not just the src attribute.
2020-03-15Check backend while exporting links.Arun Isaac
* ennu-html.el (ennu-export-post, ennu-export-thumbnail, ennu-export-video, ennu-export-static, ennu-export-tag): Export only if backend is either ennu-html or html.
2020-03-15Add post and image link follow functions.Arun Isaac
* ennu-html.el (ennu-follow): New macro. (ennu-follow-post, ennu-follow-image): New functions. Add respectively as :follow properties to post and image links in org-link-parameters.
2020-03-15Handle image links with separate transcoder.Arun Isaac
* ennu-html.el (ennu-html-link): New function. (ennu-html): Add ennu-html-link transcoder. Remove :html-inline-image-rules option. (ennu-export-image): Delete function. Unregister it from org-link-parameters.
2020-03-13List tags only if present.Arun Isaac
* ennu-html.el (ennu-html-inner-template): List tags only if present.
2020-03-13Pass backend name to export functions.Arun Isaac
* ennu-html.el (ennu-html-inner-template): Pass backend name, not backend to export functions ennu-export-post and ennu-export-tag.
2020-03-13Publish interlanguage links only if there are translations.Arun Isaac
* ennu-html.el (ennu-html-inner-template): Publish interlanguage links only if there are translations.
2020-03-13Use language name in interlanguage links.Arun Isaac
* ennu-html.el (ennu--iso-639-1-alist): New variable. (ennu-html-inner-template): Use language name in interlanguage links.
2019-09-02Specify tag language suffix in tag links.Arun Isaac
* 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.
2019-09-02Implement ennu-html inner-template transcoder.Arun Isaac
* ennu-html.el (ennu-html-inner-template): New function. (ennu-html): Specify ennu-html-inner-template as inner-template transcoder.
2019-08-27Implement post as structure.Arun Isaac
* ennu.el (ennu-post): New structure. (ennu-posts, ennu-publish, ennu-publish-feed, ennu-publish-index, ennu-publish-post, ennu--feed-entry): Use new post structure API. (ennu-later-post-p, ennu-read-post, ennu--read-post): New functions. (ennu-plist-map-to-plist, ennu-post-links, ennu-post-metadata, ennu--post-metadata-memoized, ennu-post-tags, ennu-post-thumbnail, ennu-post-tongue, ennu--later-post): Delete functions. * ennu-html.el (ennu-export-post): Use new post structure API.
2019-08-27Introduce #+TRANSLATION_GROUP keyword.Arun Isaac
* ennu-html.el (ennu-html): Add :translation-group to :options-alist.
2019-08-26Parse org syntax in #+SUMMARY keyword.Arun Isaac
* ennu-html.el (ennu-html): Parse org syntax in :summary keyword. * ennu.el (ennu--post-metadata-memoized): Handle :summary property.
2019-08-22Do not expose html extension in the tag URI.Arun Isaac
* ennu-html.el (ennu-export-tag): Do not append html extension when exporting tag link.
2019-08-20Initial commitArun Isaac