summaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
authorMatt Kosarek <matt.kosarek@canonical.com>2026-02-18 17:03:06 -0500
committerMatt Kosarek <matt.kosarek@canonical.com>2026-02-18 17:03:06 -0500
commit59260c4f7a265f1ad4db9e0ee5e469132cdef094 (patch)
tree588cf415f8b819a30090b085d9e32b42836d73ca /publish.el
parent2ef049102f6824a6ab6ae99ee87c115f7608707e (diff)
minor: publishing from public with a Makefile instead of having everything at the toplevel
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish.el b/publish.el
index 3502ac4..3e800f2 100644
--- a/publish.el
+++ b/publish.el
@@ -37,7 +37,7 @@
(list "matthewkosarek.xyz"
:recursive t
:base-directory "./_posts"
- :publishing-directory "./posts"
+ :publishing-directory "./public/posts"
:publishing-function 'my-org-html-publish-to-html
:with-toc nil
:with-author nil
@@ -95,7 +95,7 @@
(defun update-rss-feed ()
"Update the RSS feed with the newest post from _posts directory."
(let* ((posts-dir (expand-file-name "_posts"))
- (feed-file (expand-file-name "posts/feed.xml"))
+ (feed-file (expand-file-name "public/posts/feed.xml"))
(org-files (seq-filter (lambda (f) (not (string-match-p "sitemap\\.org$" f)))
(directory-files posts-dir t "\\.org$")))
(newest-file (car (sort org-files (lambda (a b) (time-less-p (file-attribute-modification-time (file-attributes b))