Finely chop the onion and garlic.
Sauté the onion and garlic in olive oil in a pan.
Add the rice and cook until it becomes translucent.
Pour in white wine and let the alcohol evaporate.
Gradually add vegetable broth while stirring until the rice is cooked.
Stir in basil pesto.
Finish by adding Parmesan cheese.
Serve on a plate and garnish with fresh basil leaves.