You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm API fetching three collections using three different data files. When I try {% sitemap datafile %} I'm getting an error EmptySitemap: You ended the stream without writing anything.
Is there a way to use your plugin with such configuration, where collections are not coming from folders nor as custom collections defined in .eleventy.js?
Cheers.
The text was updated successfully, but these errors were encountered:
Thank you @nunof07 for your time and effort, but I was pressed with time and moved on, making my own ad-hoc solution. It would be nice though if one could pass all the data files for which there should be a sitemap, something like {% sitemap file1, subfolder.file2 %} and end up with a sitemap like this.
That's not a bad idea, adding support for sitemap indexes, although it would require a lot of changes to the current plugin and it's out of my plans for the moment.
Hi,
I'm API fetching three collections using three different data files. When I try
{% sitemap datafile %}
I'm getting an errorEmptySitemap: You ended the stream without writing anything
.Is there a way to use your plugin with such configuration, where collections are not coming from folders nor as custom collections defined in
.eleventy.js
?Cheers.
The text was updated successfully, but these errors were encountered: