fix error

This commit is contained in:
jjanzen 2025-04-01 12:43:35 -05:00
parent 288ac4b17a
commit a369f17d0c

View file

@ -10,8 +10,7 @@
(setq use-package-always-ensure t (setq use-package-always-ensure t
use-package-expand-minimally t)) use-package-expand-minimally t))
(use-package org (use-package org)
:ensure org-plus-contrib)
(use-package htmlize (use-package htmlize
:after org) :after org)
(use-package yaml-mode) (use-package yaml-mode)
@ -41,6 +40,7 @@
(defun format-posts-rss-feed-entry (entry _style project) (defun format-posts-rss-feed-entry (entry _style project)
(let* ( (let* (
(title (org-publish-find-title entry project))
(link (concat (file-name-sans-extension entry) ".html")) (link (concat (file-name-sans-extension entry) ".html"))
(file (org-publish--expand-file-name entry project)) (file (org-publish--expand-file-name entry project))
(pubdate (format-time-string (car org-time-stamp-formats) (pubdate (format-time-string (car org-time-stamp-formats)
@ -53,6 +53,7 @@
:AUTHOR: jjanzen :AUTHOR: jjanzen
:LINK: %s :LINK: %s
:END:\n%s" :END:\n%s"
title
pubdate pubdate
link link
(get-file-contents file)))) (get-file-contents file))))