Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Steve Messer mentioned that he had tried to add a feed for the blog, but not quite got there. I thought I'd have a quick pass.
This is a naive implementation which was intended to be minimally invasive or overly implementation specific. It adds a feed for every _list.md, even ones where _list.md is the only file in a subdirectory of content.
It reuses the data created during publication of a list as its input - this means a feed should always match the relevant list page.
The only customisations I had to make were exposing the parent_path and a publish date to the template in order to get absolute URLs and make some of the feed values valid. It's possible that parent_path is passed to the template already but I couldn't see it.
I have not committed the generated changes to files in docs/ since I think the GitHub Action is supposed to do that, but they are all published correctly locally during a
make render
.