diff --git a/config/org-mode.org b/config/org-mode.org index 97dbea7..85bfdbb 100644 --- a/config/org-mode.org +++ b/config/org-mode.org @@ -256,3 +256,34 @@ Better syncing to mobile, for use with [[https://github.com/orgzly-revived/orgzl (setq org-latex-compiler "lualatex") (setq org-preview-latex-default-process 'dvisvgm) #+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 "" + ) + ("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 "" + ))) +#+end_src