How to get the file_name of the file being generated by org-publish? Specifically, org-publish-project-alist would specify "file_name" something like this:

(setq org-publish-project-alist
:html-postamble "
  <div class=\"fb-share-button\" 

macro-replacement might be used to insert the actual file name https://orgmode.org/manual/Macro-Replacement.html.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.