-
-
Notifications
You must be signed in to change notification settings - Fork 28
Template error when using different collection names in the virtual template config #58
Copy link
Copy link
Closed
Description
I could just be doing something wrong here, but I'm not sure what. I really only have two collections on my site currently, one is "post" and one is "update". If I copy the example from the documentation into my .eleventy.js file and change the collection name to "post", the feed builds successfully. However, if I change the collection name to either "update" or "all", I get this error.
Problem writing Eleventy templates:
[11ty] 1. Having trouble rendering njk template ./eleventy-plugin-feed-blog-title-rss.njk (via TemplateContentRenderError)
[11ty] 2. url.startsWith is not a function (via TypeError)
I'm not sure where to go from here. Maybe I could just be missing some part of defining the collection? I have update pages on my site with "tags: update" defined in the front matter, is there more I'm missing?
I am on Eleventy v3.0.0-beta.1 and eleventy-plugin-rss v2.0.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels