UP | HOME

Publishing a site

I'm trying to get org-mode publish figured out. It's part of a drive to use emacs more, because emacs is life. Some things I need to figure out:

For linking, specifically, you have to know that in my org directory, I have entries/ that publishes to /e/. In my root index.org, I have a link to file:entries/index.org, but it doesn't translate over in the generated HTML; it doesn't pick up that it's being sent to /e/.

As for fixing the cache, it's a brute force solution but I now have the following elisp:

(global-set-key (kbd "C-c c")
                (lambda () (interactive)
                  (message "deleting org-timestamps")
                  (delete-directory (expand-file-name "~/.org-timestamps") t)))

It works, probably not ideal. Also not thrilled with the idea of auto-deleting a directory, but it should work. Until it's not. Fortunately, I have sync-thing backing up stuff.

I'll keep more updates on the associated page. This link probably doesn't work, because of the previously-mentioned linking issues. Worth a try, though.

Author: kyle (kyle@imladris)

Date: 2025-04-24 Thu 00:00

Emacs 31.0.50 (Org mode 9.7.11)

Validate