- (unless (file-directory-p my-blog-tags-folder) (make-directory my-blog-tags-folder))
- (with-temp-file (file-name-concat my-blog-source-folder "tag-index.org")
+ (let* ((tagfolder (file-name-concat
+ (plist-get (cdr (assoc "landing" org-publish-project-alist)) :base-directory)))
+ (postfolder (file-name-concat
+ (plist-get (cdr (assoc "posts" org-publish-project-alist)) :base-directory)))
+ (relpostfolder (file-relative-name postfolder tagfolder)))
+ (unless (file-directory-p my-blog-tags-folder) (make-directory my-blog-tags-folder))
+ (with-temp-file (file-name-concat tagfolder "tag-index.org")