From 4207329336f642720239f8ce1eaf4cf6b4040df7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 6 Oct 2019 12:57:14 -0700 Subject: Initial commit --- project-config.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 project-config.el (limited to 'project-config.el') diff --git a/project-config.el b/project-config.el new file mode 100644 index 0000000..c145ec0 --- /dev/null +++ b/project-config.el @@ -0,0 +1,20 @@ +(require 'ox-publish) +(require 'ox-rss) + +(setq org-publish-project-alist + '(("ryuslash.org" + :base-directory "." + :publishing-directory "public_html" + :exclude "\\`README.org\\'" + :base-extension "org" + :publishing-function org-html-publish-to-html) + ("ryuslash-rss" + :base-directory "." + :publishing-directory "public_html" + :exclude ".*" + :include ("index.org") + :base-extension "org" + :publishing-function org-rss-publish-to-rss))) + +(defun publish-ryuslash.org () + (org-publish-all)) -- cgit v1.2.3-54-g00ecf