Quarter the tomatoes, then place them in an ovenproof dish together with the peeled garlic cloves and 2 tablespoons of olive oil, salt and bake for 25 minutes at 180°C. Optionally use the grill function of the oven.
Cut the peppers into rings, the zucchini and eggplant into thin slices. Soak the eggplant in salt water for a few minutes and then pat dry.
Mix together a marinade from the remaining olive oil, chili flakes, salt and pepper and pour over the vegetables. Mix everything well and then spread on a baking sheet. Bake at 180°C for 30 minutes.
Sauté the planted.pulled a skillet with the oil over medium heat for 4 minutes, until golden brown. Cut the baguettes in half and spread the pesto on both inner sides.
Use a fork to flatten the garlic cloves against the inside of the baguettes. Arrange the grilled tomatoes, eggplant and zucchini slices, bell peppers, and planted.pulled the baguettes and serve while still warm.