work.el: Prepare for exporting index.html from the root directory.

This commit is contained in:
Sergiu Ivanov 2018-09-30 20:51:45 +02:00
parent a85a722f1b
commit 07cfa9503b

22
work.el
View file

@ -47,7 +47,7 @@
(setq org-publish-project-alist
`(("work-site"
:components ("work-site-en" "work-site-fr" "work-site-content"))
:components ("work-site-en" "work-site-en-index" "work-site-fr" "work-site-content"))
("work-site-en"
@ -67,6 +67,26 @@
:html-postamble ,(make-postamble 'en))
;; We are going to need an index.html in the root directory.
;; We'll have a separate subproject for that file.
("work-site-en-index"
:base-extension "org"
:base-directory ,work-base
:exclude "work-notes.org"
:publishing-directory ,publishing-base
:publishing-function org-html-publish-to-html
:section-numbers nil
:with-toc nil
:with-latex t
:html-head-include-default-style nil
:html-head-include-scripts nil
:html-head-extra ,my-styles
:html-preamble ,my-preamble
:html-postamble ,(make-postamble 'en))
("work-site-fr"
:base-extension "org"
:base-directory ,(concat work-base "fr/")