Quarter the tomatoes, then put them in an ovenproof dish together with the peeled garlic cloves and 2 tablespoons of olive oil, add salt and bake for 25 minutes at 180°C. Optionally, feel free to use the oven's grill function.
Cut the peppers into rings, the zucchini and the eggplant into thin slices. Soak the eggplant in salted water for a few minutes and then pat dry.
Stir together a marinade of the remaining olive oil, chili flakes, salt and pepper and pour over the vegetables. Mix well and spread on a baking tray. Bake at 180°C for 30 minutes.
Fry the planted.pulled in a pan with the oil over medium heat for 4 minutes until golden brown. Cut the baguettes in half and spread both insides with the pesto.
Flatten the garlic cloves on the inside of the baguettes with the help of a fork. Spread the grilled tomatoes, eggplant and zucchini slices, peppers and planted.pulled on the baguettes and serve preferably warm.