nhoizey’s avatarnhoizey’s Twitter Archive—№ 103,195

  1. @eleven_ty in a (Nunjucks) template, is there a standard and/or simple way to find a collection item by fileSlug, filePathStem or inputPath, without looping over every item?
    1. …in reply to @nhoizey
      @eleven_ty For example, an events collection has a reference (would be the inputPath with @forestryio) to an item of a locations collection, and I want to show the location address (from YFM) in the event item template. +@FrankTldr