[emacs/org] modern html5 export
authorAmin Bandali <amin@aminb.org>
Sun, 15 Jul 2018 00:20:42 +0000 (20:20 -0400)
committerAmin Bandali <amin@aminb.org>
Sun, 15 Jul 2018 00:20:42 +0000 (20:20 -0400)
init.org

index 26d833b..8bba36d 100644 (file)
--- a/init.org
+++ b/init.org
@@ -651,8 +651,12 @@ In short, my favourite way of life.
 (setq org-src-tab-acts-natively t
       org-src-preserve-indentation nil
       org-edit-src-content-indentation 0
+      org-html-divs '((preamble  "header" "preamble")
+                      (content   "main"   "content")
+                      (postamble "footer" "postamble"))
       org-html-doctype "html5"
-      org-html-html5-fancy t)
+      org-html-html5-fancy t
+      org-html-postamble nil)
 (add-hook 'org-mode-hook 'org-indent-mode)
 (use-package htmlize)
 #+end_src