My goal is to export my project in its plainest form in order to later build a css on a clean basis. Here's my current configuration:

      (require 'ox-publish)
      (setq org-html-coding-system 'utf-8-unix)

       setq org-publish-project-alist
               :base-directory "~/Blog/org/"
               :base-extension "org"
               :publishing-directory "~/Blog/html/"
               :recursive t
               :publishing-function org-html-publish-to-html
               :headline-levels 2
               :auto-sitemap t
               :sitemap-filename "sitemap.org"
               :sitemap-title "Sitemap"
               :makeindex t
               :with-creator nil
               :with-email nil
               :with-author nil
               :with-date nil
              ;; :auto-preamble t
              ;; :auto-postamble t
               :html-pretable nil
               :html-postable nil

               :table-of-contents nil
               :section-numbers nil

               :base-directory "~/Blog/org/"
               :base-extension "html\\|xml\\|css\\|js\\|png\\|jpg\\|gif\\|pdf"
               :publishing-directory "~/Blog/html/"
               :recursive t
               :publishing-function org-publish-attachment

               :components ("org-notes" "org-static")

  (setq org-export-html-postamble nil)
;;  (setq org-html-head-include-default-style nil)
;;  (setq org-html-head-include-scripts nil)
  (setq org-html-validation-link nil)

The issue is that the "Created on:" continues to appear at the bottom of the page. According to https://stackoverflow.com/questions/13363267/how-to-remove-footer-details-in-org-mode-html-export, https://orgmode.org/manual/HTML-preamble-and-postamble.html

(setq org-export-html-postamble nil)

should be enough to fix my problem but "Created on" still appears.

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.