Any leafy green is a good substitute for basil in pesto (like kale, spinach, arugula), but I still recommend adding a teaspoon or so of dried basil (or oregano) to your pesto for flavor.