Preheat your oven to 400°F (200°C).
Place the sliced baguettes on a baking sheet, cut side up.
Spread an even layer of pesto sauce on each half of the baguettes.
Layer the sliced cheddar cheese evenly over the pesto.
Arrange the tomato slices on top of the cheese. Drizzle with olive oil and season with salt and pepper.
Bake in the preheated oven for 10-12 minutes, or until the cheese is melted and bubbly.
Remove from the oven and let cool for a minute. Garnish with fresh basil leaves if desired.
Serve immediately and enjoy your delicious open-faced sandwiches!