zachleat’s avatarzachleat’s Twitter Archive—№ 44,840

    1. …in reply to @lehrblogger
      @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!
      OpenGraph image for 11ty.dev/docs/plugins/edge/#passing-build-time-data-to-your-edge-function
  1. …in reply to @zachleat
    @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