-
@lehrblogger edge shortcodes are data-scoped, so you need to pass
collections
in 11ty.dev/docs/plugins/edge/#passing-build-time-data-to-your-edge-function However, collections aren’t JSON-friendly because they contain circular refs—so if you can Array.map down to something simpler without circular refs it will work! -
@lehrblogger though I will say that it’s much easier to process your collections at build time and modify that processed output in an edge function