-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathpublish.el
33 lines (30 loc) · 1.01 KB
/
publish.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
(add-to-list 'load-path "elisp")
(add-to-list 'load-path "elisp/org-mode/lisp")
(require 'ox-publish)
(setq org-publish-project-alist
'(
("leptus-docs"
:base-directory "./org"
:base-extension "org"
:publishing-directory "./public_html"
:publishing-function org-html-publish-to-html
:headline-levels 4
:recursive nil
:with-title t
:with-author t
:with-footnotes t
:with-timestamps t
:with-emphasize t
:with-sub-superscript nil
:section-numbers nil
:html-validation-link nil
:html-html5-fancy t
:html-doctype "<!DOCTYPE html>"
:html-link-up "index.html"
:html-link-home "https://github.com/sinasamavati/leptus"
:html-metadata-timestamp-format "%Y-%m-%d"
:html-head-include-scripts nil
:html-head-include-default-style nil
:html-head "<link rel=\"stylesheet\" href=\"style.css\">"
)))
(org-publish "leptus-docs")