aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-08-18 23:18:22 +0530
committerArun Isaac2022-08-18 23:22:50 +0530
commit620a3483a4180dac9ae45b0057010c903b821b8c (patch)
treeee966913483e0b8dbb06bdd7d12cb4762e7a9b13
parent269f30c781fefa08c5ba281bf66fd0c861c3b643 (diff)
downloadennum-620a3483a4180dac9ae45b0057010c903b821b8c.tar.gz
ennum-620a3483a4180dac9ae45b0057010c903b821b8c.tar.lz
ennum-620a3483a4180dac9ae45b0057010c903b821b8c.zip
Rename :thumbnail-image-width property to :image-thumbnail-width.
* ennum.el (ennum-publish): Use :image-thumbnail-width instead of :thumbnail-image-width. (ennum-setting): Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum-html.el (ennum-html-export-thumbnail): Use :image-thumbnail-width instead of :thumbnail-image-width.
-rw-r--r--ennum-html.el2
-rw-r--r--ennum.el6
2 files changed, 4 insertions, 4 deletions
diff --git a/ennum-html.el b/ennum-html.el
index 9dc0a83..d0bd7e1 100644
--- a/ennum-html.el
+++ b/ennum-html.el
@@ -356,7 +356,7 @@
`(img :src ,(url-encode-url
(expand-file-name*
(ennum-image-output-filename
- path (ennum-setting :thumbnail-image-width))
+ path (ennum-setting :image-thumbnail-width))
(ennum-setting :images-directory))))))))
(org-link-set-parameters
diff --git a/ennum.el b/ennum.el
index ee4b153..b90fc57 100644
--- a/ennum.el
+++ b/ennum.el
@@ -547,7 +547,7 @@ result as a string."
:blog-scheme :index-posts-per-page
:image-width :image-link-width
:locale-alist :other-files-directory
- :store :tag-directory :thumbnail-image-width)
+ :store :tag-directory :image-thumbnail-width)
(plist-get (org-combine-plists
(list :atom-feed-number-of-posts 12
:atom-feed-file "blog.atom"
@@ -558,7 +558,7 @@ result as a string."
:locale-alist '(("en" . "C"))
:store ".ennum"
:tag-directory "tag"
- :thumbnail-image-width 320)
+ :image-thumbnail-width 320)
ennum-blog)
property))
(_ (error "Unknown property %s" property))))
@@ -723,7 +723,7 @@ as keys. Keys are compared using `equal'."
(seq-map (lambda (image)
(ennum-publish-image
(ennum--file-join (ennum-setting :images-directory) image)
- (ennum-setting :thumbnail-image-width)))
+ (ennum-setting :image-thumbnail-width)))
(ennum--filter-map 'ennum-post-thumbnail posts))
;; Publish other files
(seq-map (apply-partially 'ennum-publish-generic other-files-directory)