0

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
      `(
("wfpb-publish-to-html"
:html-postamble "
  <div class=\"fb-share-button\" 
    data-href=\"https://domain.com/file_name.html\"
  </div>"
)))

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.