Wash and finely chop the basil, onion, and garlic.
Heat olive oil in a pan and sauté the garlic and onion.
Add rice and cook until the grains turn translucent.
Pour in white wine and cook until the alcohol evaporates.
Gradually add broth several times and cook the rice.
Mix in the basil pesto and combine well.
Season with salt and pepper.
Sprinkle with Parmesan cheese to finish.