-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.el
69 lines (64 loc) · 2.49 KB
/
project.el
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
(require 'ox-publish)
(setq org-html-postamble-format
'(("en" "<div class=\"postamble\" class=\"status\">
<p class=\"copyright\">Copyright 2015-2020 %a<p>
<p class=\"email\">Email: %e</p>
<p class=\"date\">Created: %d</p>
<p class=\"modified\">Last modified: %C</p>
</div>")))
(setq org-publish-project-alist
(list
(list "munksgaard.me-org"
:author "Philip Munksgaard"
:email "philip@munksgaard.me"
:base-directory (caar dir-locals-directory-cache)
:base-extension "org"
:publishing-directory "/ssh:munksgaard.me|sudo:www-data@:/var/www/munksgaard.me"
:recursive t
:publishing-function 'org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:language "en"
:section-numbers nil
:time-stamp-file t
:with-author t
:with-creator nil
:with-email t
:with-emphasize t
:with-footnotes t
:with-tables t
:with-timestamps t
:with-toc nil
:html-postamble t
:html-doctype "xhtml-strict"
:html-divs '((preamble "header" "preamble")
(content "article" "content")
(postamble "footer" "postamble"))
:html-container "section"
:html-head "<style type=\"text/css\">
/*<![CDATA[*/
pre.src { overflow: auto; }
/*]]>*/
</style>"
:html-self-link-headlines t
:html-allow-name-attribute-in-anchors t
;; :html-html5-fancy t
:html-link-home "/index.html"
:html-link-up ""
:html-home/up-format "<div id=\"org-div-home-and-up\">
%s
<a accesskey=\"H\" href=\"%s\"> HOME </a>
</div>"
)
'("munksgaard.me-static"
:base-directory "./"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|mp3\\|ogg\\|patch\\|txt"
:recursive t
:publishing-directory "/ssh:munksgaard.me|sudo:www-data@:/var/www/munksgaard.me"
:publishing-function org-publish-attachment
)
'("papers"
:base-directory "./papers/"
:base-extension "pdf"
:publishing-directory "/ssh:munksgaard.me|sudo:www-data@:/var/www/munksgaard.me/papers"
:publishing-function org-publish-attachment)
'("munksgaard.me" :components ("munksgaard.me-org" "munksgaard.me-static" "papers"))))