usill/export.org

27 lines
537 B
Org Mode
Raw Permalink Normal View History

2020-01-04 20:47:39 +00:00
#+TITLE: Export HTML
#+SETUPFILE: template.org
#+BEGIN_SRC elisp
(setq org-publish-project-alist
'(
("usill-notes"
:base-directory "~/project/usill"
:base-extension "org"
:publishing-directory "~/public_html/project/usill"
:recursive t
:publishing-function org-html-publish-to-html
:auto-preamble t
:auto-sitemap t
:sitemap-filename "sitemap.org"
:sitemap-title "Sitemap"
)
("usill" :components ("usill-notes"))
)
)
(org-publish-project "usill")
#+END_SRC
#+RESULTS:
: t