blob: 70fb2cedc516ddf56896125f11fc4bc41aca224d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
(setq org-publish-project-alist
'(("fi"
:completion-function (lambda (a) (copy-file "~/Documents/orgsite/generated/fi/index.html" "~/Documents/orgsite/generated/index.html" 1))
:base-directory "~/Documents/orgsite/pages/fi"
:publishing-directory "~/Documents/orgsite/generated/fi"
:base-extension "org"
:publishing-function org-html-publish-to-html
:recursive t
:with-toc nil
:lang "fi"
:html-head "<link rel=\"stylesheet\"href=\"/static/mystyle.css\" type=\"text/css\"/>")
("en"
:base-directory "~/Documents/orgsite/pages/en"
:publishing-directory "~/Documents/orgsite/generated/en"
:base-extension "org"
:publishing-function org-html-publish-to-html
:recursive t
:with-toc nil
:lang "en"
:html-head "<link rel=\"stylesheet\"href=\"/static/style.css\" type=\"text/css\"/>")
("img" ; equiv with static
:base-directory "~/Documents/orgsite/img"
:publishing-directory "~/Documents/orgsite/generated/img"
:base-extension any
:recursive t
:publishing-function org-publish-attachment)
("static" ; equiv with img
:base-directory "~/Documents/orgsite/static"
:publishing-directory "~/Documents/orgsite/generated/static"
:base-extension any
:recursive t
:publishing-function org-publish-attachment)
("website" :components ("fi" "en" "img" "static"))))
|