From 59260c4f7a265f1ad4db9e0ee5e469132cdef094 Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Wed, 18 Feb 2026 17:03:06 -0500 Subject: minor: publishing from public with a Makefile instead of having everything at the toplevel --- publish.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'publish.el') 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)) -- cgit v1.2.1