diff options
| author | Matt Kosarek <matt.kosarek@canonical.com> | 2026-02-18 17:03:06 -0500 |
|---|---|---|
| committer | Matt Kosarek <matt.kosarek@canonical.com> | 2026-02-18 17:03:06 -0500 |
| commit | 59260c4f7a265f1ad4db9e0ee5e469132cdef094 (patch) | |
| tree | 588cf415f8b819a30090b085d9e32b42836d73ca /publish.el | |
| parent | 2ef049102f6824a6ab6ae99ee87c115f7608707e (diff) | |
minor: publishing from public with a Makefile instead of having everything at the toplevel
Diffstat (limited to 'publish.el')
| -rw-r--r-- | publish.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |
