summaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
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))