Quarter the tomatoes, then put them in an ovenproof dish together with the peeled garlic cloves and 2 tablespoons of olive oil, salt and bake at 180°C for 25 minutes. 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 everything together well and then spread on a baking tray. Bake at 180°C for 30 minutes.
The planted.pulled in a frying 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. Arrange the grilled tomatoes, slices of eggplant and zucchini, peppers and the planted.pulled on the baguettes and serve warm.