Beat butter and sugar together in a stand mixer until pale and fluffy.
Add egg yolk and pure vanilla extract, beating until completely combined.
Stir in almond flour, all-purpose flour, and salt until tender shortbread dough forms.
Divide dough into two disks, wrap in plastic wrap, and chill for one hour.
Preheat oven to 350 degrees Fahrenheit and line two baking sheets with parchment paper.
Roll dough on floured surface to one-eighth inch thickness.
Cut out solid heart cookies for cookie bases using a three-inch heart cutter.
Cut matching top cookies and cut smaller mini heart window out of each center.
Bake for ten to twelve minutes until cookie edges turn pale golden, then cool completely.
Dust cookie top windows generously with powdered sugar.
Spread raspberry jam on solid base cookies, top with window cookies, and press gently.