01 - Preheat the oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving an overhang on two sides for easy removal.
02 - In a large mixing bowl, cream together the softened butter and granulated sugar with a hand mixer or stand mixer until light and fluffy. Mix in the salt, vanilla extract, and almond extract until fully combined.
03 - Gradually add the all-purpose flour to the creamed mixture, mixing until a crumbly dough forms.
04 - Transfer two-thirds of the dough into the prepared pan and press it firmly and evenly into the bottom to form the base.
05 - Spread the raspberry jam evenly on top of the dough layer, leaving a small border around the edges.
06 - Crumble the remaining dough evenly over the jam layer, then sprinkle the sliced almonds across the top.
07 - Bake in the preheated oven for 28 to 32 minutes until the top is golden and the almonds are lightly toasted.
08 - Allow the bars to cool completely in the pan before lifting out using the parchment overhang and slicing into 16 squares.