Add org publishing config

This commit is contained in:
Evie Litherland-Smith 2024-02-22 08:48:09 +00:00
parent 6d53401e3d
commit 4ffe2901b5

View file

@ -256,3 +256,34 @@ Better syncing to mobile, for use with [[https://github.com/orgzly-revived/orgzl
(setq org-latex-compiler "lualatex") (setq org-latex-compiler "lualatex")
(setq org-preview-latex-default-process 'dvisvgm) (setq org-preview-latex-default-process 'dvisvgm)
#+end_src #+end_src
* Publishing config
#+begin_src emacs-lisp
(setq org-publish-project-alist
'(("landing"
:base-directory "~/Documents/Web/landing/"
:base-extension "org"
:exclude "README.org"
:recursive t
:publishing-function org-html-publish-to-html
:publishing-directory "/sshx:xenia@legion:/var/www/landing"
:section-numbers nil
:with-author t
:with-email t
:with-toc nil
;; :html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/readtheorg.css\"/>"
)
("blog"
:base-directory "~/Documents/Web/blog/"
:base-extension "org"
:exclude "README.org"
:recursive t
:publishing-function org-html-publish-to-html
:publishing-directory "/sshx:xenia@legion:/var/www/blog"
:section-numbers nil
:with-author t
:with-email t
:with-toc t
:html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/readtheorg.css\"/>"
)))
#+end_src