getgrav / grav-plugin-feed

Grav Feed Plugin
https://getgrav.org
MIT License
16 stars 11 forks source link

Allow template overrides based on header feed config #67

Closed jgonyea closed 9 months ago

jgonyea commented 2 years ago

This PR allows a developer to override the feed.(rss|atom|json).twig feed template via a header.feed.template.(rss|atom|json) field.

This will not break existing overrides from other developers. If the header.feed.template key doesn't exist, the feed plugin will default to its own template.

Also updated the README to describe the new functionality.

XaviArnaus commented 1 year ago

Any intention to merge this? I found that the feeder ignores the item.summary, and the date formats can't be touched...

This would be very useful.