jekyll / jekyll-feed

:memo: A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts
MIT License
826 stars 201 forks source link

Plugin isn't "building" feed, just copying template #364

Closed prplecake closed 2 years ago

prplecake commented 2 years ago

I copied the feed.xml from the lib/jekyll-feed/ directory to the root of my site in an attempt to modify the output of the feed.

However, Jekyll's just copying the literal template without doing anything with the Liquid tags.

parkr commented 2 years ago

Hi! Make sure there's an empty YAML front matter at the top of the file like:

---
---

This tells Jekyll that it's a page that can be converted and not just a static file that should be copied.

prplecake commented 2 years ago

I think that's helping... now I'm getting a Liquid error but that's probably unrelated. At least it looks like Jekyll is processing feed.xml now.

Liquid Exception: Liquid error (line 53): Cannot sort a null object. in feed.xml

Thanks!