-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg-publish.el
30 lines (26 loc) · 1.07 KB
/
org-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
(require 'ox-publish)
;; Export options:
;; - https://orgmode.org/manual/Export-Settings.html
;; - https://orgmode.org/manual/Publishing-options.html
(setq org-export-with-toc nil)
(setq org-export-with-section-numbers 0)
(setq org-export-headline-levels 4)
(setq org-export-with-author nil)
(setq org-export-time-stamp-file nil)
(setq org-export-with-sub-superscripts nil)
(setq org-export-with-date nil)
(setq org-html-head-include-default-style nil)
(setq org-html-metadata-timestamp-format "%Y-%m-%d")
(setq org-html-validation-link nil)
(load (expand-file-name "org-main-optimized.css.el" "."))
;;(load (expand-file-name "org-font-optimized.css.el" "."))
(setq org-html-head-extra "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://bitmaster.se/css/org-font-optimized.css\" />")
(setq org-publish-project-alist
'(("readme"
:auto-sitemap nil
:publishing-function org-html-publish-to-html
:recursive nil
:base-directory "./"
:base-extension "org"
:publishing-directory "./")
("all" :components ("readme"))))