Fix #5 - Pass set template vars to layout