Preheat the oven to 180 °C.
Place the puff pastry in the pan, forming the sides.
Grease the bottom with strawberry or raspberry jam.
Beat the eggs with sugar, add the melted butter.
Stir in ground almonds, flour and almond extract.
Pour the filling over the jam.
Sprinkle with flaked almonds.
Bake for about 35–40 minutes until golden brown.
