Exclude README from being built
This commit is contained in:
parent
88de93b360
commit
4433e31e6d
1 changed files with 4 additions and 2 deletions
|
@ -65,12 +65,14 @@
|
||||||
(setq org-html-doctype "html5")
|
(setq org-html-doctype "html5")
|
||||||
|
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(("index"
|
`(("index"
|
||||||
:base-directory "."
|
:base-directory "."
|
||||||
:base-extension "org"
|
:base-extension "org"
|
||||||
:publishing-directory "public/"
|
:publishing-directory "public/"
|
||||||
:recursive t
|
:recursive t
|
||||||
:exclude "^posts/"
|
:exclude ,(rx string-start
|
||||||
|
(or "posts/"
|
||||||
|
(and "README.org" string-end)))
|
||||||
:publishing-function org-html-publish-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
:html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
|
:html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
|
||||||
("posts"
|
("posts"
|
||||||
|
|
Loading…
Reference in a new issue