Heat the oven to 180°C fan (200°C conventional ).
Roll the pastry to about 3 mm thick.
Cut 12 circles (about 10–11 cm across) and line each hole.
Beat the butter and sugar until light.
Beat in the eggs one at a time.
Stir in the almond extract.
Fold in the ground almonds and flour.
Spoon 1–1½ teaspoons jam into each pastry case.
Divide the batter evenly between the cases, filling them about three-quarters full.
Sprinkle with flaked almonds if using.
Bake for 22–28 minutes, until golden and the filling is set.
Leave in the tin for 10 minutes before transferring to a wire rack.
Once cool, dust generously with icing sugar. Or make thick icing & place in the middle .
