SHORTCRUST PASTRY
Ingredients (for 1 tart pan 26 to 28 cm): 250 g flour - 125 g to 150 g very cold soft butter, cut into small cubes - a pinch of salt (about 3 g) - 50 to 60 ml very cold water (about 3 to 4 tablespoons) - (Optional) 1 egg yolk for extra richness and browning.
Preparation: Sand the dough: Mix the flour and salt in a mixing bowl. Add the cold butter cubes and rub with your fingertips (or use a food processor) until you get a sandy texture. Add the water: Gradually pour in the ice water (and the egg yolk if using). Mix quickly until a ball forms. Do not knead too much to avoid hardening the dough. Let rest: Slightly flatten the ball into a disc, wrap it in plastic wrap, and place it in the refrigerator for at least 30 to 60 minutes. Line the pan: Roll out the dough on a floured work surface or baking paper. Place it in your tart pan, prick the bottom with a fork, and refrigerate for 15 minutes before adding the onion topping.
SAUCE MORNAY
Mornay sauce is a derivative of béchamel sauce to which grated cheese is added: for 1/2 liter of béchamel sauce, add 5 tablespoons of grated cheese (Tête de Maure or Parmesan).
SAUCE BÉCHAMEL
Ingredients: 1/4 cup butter or 1/2 stick butter — 1/4 cup flour — 2 cups milk or 1/2 liter — salt and pepper.
Preparation: Make a roux blanc by melting the butter in a saucepan, then adding the flour and turning over low heat for about 5 minutes, without letting it brown; this is the base of béchamel sauce. Put the milk on the stove and when it starts to boil, pour it gradually over the roux blanc, stirring constantly, always on low heat. To make the work easier, remove the saucepan from the heat when pouring the milk or reduce the heat, always turning to obtain a very smooth sauce. If lumps form, you can always strain the béchamel sauce through a chinois or muslin. Season with salt and white pepper.
ONION PIE PREPARATION
For the tart base, shortcrust pastry and white baking. Sauté the sliced onions in very little margarine (1/4 stick), avoiding letting them brown. Add them to Mornay sauce. Pour the mixture into the tart base, sprinkle with grated cheese and margarine hazelnuts. Brown in the oven at 325°.

