work.el: Prepare for exporting index.html from the root directory.
This commit is contained in:
parent
a85a722f1b
commit
07cfa9503b
1 changed files with 21 additions and 1 deletions
22
work.el
22
work.el
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue