Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Convert StaticFile liquid representation to a Drop & add front matter defaults support to StaticFiles #5871
Per jekyll/jekyll-sitemap#157 (comment), this PR implements a new StaticFileDrop such that static files can inherit front matter defaults.
I believe this is implemented as a non-breaking change. The resulting hash should be identical, with a new
I also tried to obtain as much parity with how Documents implement front matter defaults, by spiking out a new
Wonderful! Just 2 comments. We should ensure that the collection item is either a string (its label) or the value of
Collection#to_liquid. Thank you so much, Ben!