Though this recipe calls for ground hazelnuts, almonds or pecans will work just as well. And the raspberry jam that sandwiches the rich nut dough can be changed to apricot, which would be just as good.
In a bowl, combine the flour and spices; stir well to mix.
In the bowl of a standing electric mixer fitted with the paddle attachment, beat together on medium speed the butter and sugar until soft and light, about 5 minutes. Lower the mixer speed and beat in the almonds and the flour and spice mixture, one at a time.