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:
[X]
How do I remove my name and created from the footer? (Answer: org was caching things and not updating properly.)[ ]
How do I set up a custom template for blog entries?[ ]
How do I use org-roam? Probably have to bug Aaron about it.[X]
The cache seems to get buggered regularly.[ ]
How do I get linking working?
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.