aboutsummaryrefslogtreecommitdiffstats
path: root/project-config.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-10-06 12:57:14 -0700
committerGravatar Tom Willemse2019-10-06 12:57:14 -0700
commit4207329336f642720239f8ce1eaf4cf6b4040df7 (patch)
tree7b600b6d12ebbe5c31a032df3456434aaec254b4 /project-config.el
downloadnew-ryuslash.org-4207329336f642720239f8ce1eaf4cf6b4040df7.tar.gz
new-ryuslash.org-4207329336f642720239f8ce1eaf4cf6b4040df7.zip
Initial commit
Diffstat (limited to 'project-config.el')
-rw-r--r--project-config.el20
1 files changed, 20 insertions, 0 deletions
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))