diff --git a/publish.el b/publish.el index 7823a46..fc520a0 100644 --- a/publish.el +++ b/publish.el @@ -65,12 +65,14 @@ (setq org-html-doctype "html5") (setq org-publish-project-alist - '(("index" + `(("index" :base-directory "." :base-extension "org" :publishing-directory "public/" :recursive t - :exclude "^posts/" + :exclude ,(rx string-start + (or "posts/" + (and "README.org" string-end))) :publishing-function org-html-publish-to-html :html-head "") ("posts"