Preheat the oven to 400ºF / 200ºC degrees.
Sread the almond flour in a baking tin and bake for around 3-4 minutes until turning golden brown and smelling toasted. Remove from the oven and allow to cool for five minutes.
In a medium bowl mix together the brown sugar, butter, egg, extracts, salt and toasted almond flour. Use an electric whisk and beat until smooth and fully combined.
Roll out the pastry and cut into 2.5 inch squares. Press the squares int muffin cups.
Fill each cup with one tablespoon of the filling and top with a whole almond.
Bake for 10-15 minutes until the pastry is puffed up and golden brown.
Dust with powdered sugar to serve.