Wash the basil leaves thoroughly and remove excess water.
Finely chop the onion.
Add olive oil to a pan and sauté the onions.
Add rice and stir-fry until it becomes translucent.
Pour in white wine and let the alcohol evaporate.
Gradually add vegetable stock and cook the rice.
When the rice is almost cooked, add basil pesto and mix well.
Add Parmesan cheese and butter, then combine thoroughly.
Season with salt and pepper.
Serve in a bowl and garnish with basil leaves and cheese.