Take a large skillet.
Add two tablespoons of olive oil and chopped shallots into the skillet.
Cook the shallots for a few minutes until they turn light brown.
Add the minced garlic into the skillet.
Add salt and black pepper into the skillet and mix well.
Switch off the stove and let the mixture cool down.
Take a large bowl.
Add the eggs and milk into the bowl.
Whisk well and then add the flour and cooked mixture into the bowl.
Mix everything well.
Pour the mixture into a greased loaf pan.
Add the cheese on top of the batter.
Place the pan in a preheated oven and bake the loaf.
Dish out the loaf after forty minutes
Your dish is ready to be served