As described here: http://jade-lang.com/reference/, it is easy enough to either get the index or the key. But is there a way to get both?
This: 
ul
  each val, index in {"day": "Wed", "link": "url", "message": "three"}
    li#item-= index + ': ' + val
Outputs this:
<ul>
  <li id="item-">day: Wed</li>
  <li id="item-">link: url</li>
  <li id="item-">message: three</li>
</ul>
But I want this:
<ul>
  <li id="item-0">day: Wed</li>
  <li id="item-1">link: url</li>
  <li id="item-2">message: three</li>
</ul>
 
     
     
    