Slice the onion thinly.
Mix flour, yeast, salt, and sugar in a bowl.
Add lukewarm water to make the dough.
Add olive oil and onion to the dough and mix well.
Let the dough ferment for 1 hour.
Place the dough in a pan and shape it.
Bake in a preheated oven at 180°C for 25 minutes.