Always add sitemap file to project files if sitemap is requested
commitdeb5f8df31072ea99a846efe1dafcb405362a196
authorJan Seeger <jan.seeger@thenybble.de>
Fri, 7 Jan 2011 18:42:22 +0000 (7 18:42 +0000)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 26 Jan 2011 10:03:20 +0000 (26 11:03 +0100)
tree06c4b9b90f094be0efc81b98c0fcd78ddf56c5fb
parent156e6b1466826961bd2577a44ae38e852c724107
Always add sitemap file to project files if sitemap is requested

* lisp/org-publish.el (org-publish-get-base-files): Add sitemap file.

I noticed some wonkiness in getting my sitemap created on my webserver
when pushing my website, and the problem seems to lie in
org-publish-get-base-files only returning existing files, and not
picking up on the soon to be generated sitemap. My patch always adds
the sitemap file to the list of returned files if a sitemap is
requested, regardless of if it exists or not.
lisp/org-publish.el