Whisk the flour, almond flour, salt, and baking powder together in a bowl and set aside. Break up any clumps in the almond flour with your fingers first.
Beat the room-temperature butter and powdered sugar together until light and fluffy, about 2 minutes. The mixture should look pale and slightly puffed, not shiny or runny.
Beat in the egg, vanilla, and almond extract until fully combined.
Add the flour mixture in two batches, mixing on low just until it disappears into the dough. Stop as soon as you don't see streaks of flour. The dough should be soft but hold together, not sticky to the touch.
Divide the dough in half, flatten each half into a disk, wrap in plastic, and chill for at least 1 hour, or up to 2 days.
On a lightly floured surface, roll the dough to about 1/8-inch thick. Cut out cookies with a round or scalloped cutter, then cut a smaller window shape out of the center of half of the cookies. Re-roll scraps once.
Bake at 350°F for 9 to 11 minutes for the window tops and 11 to 13 minutes for the solid bottoms. Pull them out when the edges are just barely golden. If the cutout shape has shifted during baking, recut the window right away while the cookie is still warm.
Move the cookies to a wire rack and let them cool all the way to room temperature before filling.
Dust the window tops with powdered sugar before assembling. Spread about a teaspoon of jam onto each bottom cookie, then top with a sugared window cookie, pressing gently so the jam just meets the edges.