27 lines
537 B
Org Mode
27 lines
537 B
Org Mode
#+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
|