Payas Relekar <[email protected]> writes:

> 1. If I add `:sitemap-sort-files 'anti-chronologically` to
> `org-publish-project-alist`, I get this error: "Invalid sort value
> 'anti-chronologically". Using quote or backtick does not matter. Setting
> `org-publish-sitemap-sort-files` to same value seems to work, but I
> haven't reconstructed enough of my blog to actually test it out.

You are likely doing something

(org-publish-project-alist
  `(...
    :sitemap-sort-files 'anti-chronologically))

while you need

(org-publish-project-alist
  `(...
    :sitemap-sort-files anti-chronologically))

(the list is already quoted)

> 2. Setting `:sitemap-style 'tree` results in error:
>   org-publish--sitemap-files-to-lisp: Unknown site-map style: ‘'tree’
>   Looking at the code, `'tree` is never checked against, only if it is
>   `tree`, but the behavior does not match with param description:
>     Can be list (...) or tree (...). Defaults to tree.

Same story.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to