eleven_ty’s avatareleven_ty’s Twitter Archive—№ 2,935

  1. …in reply to @markboulton
    @markboulton Don’t feel dumb—this has stumped a few people, me included. For loops on objects in Nunjucks are weird and require key, value in the loop: {% for ingredient, amount in food %} via mozilla.github.io/nunjucks/templating.html#for
    1. …in reply to @eleven_ty
      @markboulton Ah, hmm—I’ve just now realized that items may in fact be an array