Step 1Heat the oven to 350 degrees. Grease a 13- by 9-inch baking dish.
Step 2In the bowl of a stand mixer fitted with a paddle attachment, or in a medium bowl using a hand mixer, beat together the coconut oil, sugar, vanilla extract, almond extract and salt until well combined, 1 to 2 minutes.
Step 3By hand, stir in the almond meal, then the baking powder and flour until thoroughly incorporated. The dough will be somewhat crumbly; this is OK.
Step 4Place three-fourths of the dough mixture into the greased baking dish, pressing to form an even layer across the bottom of the dish.
Step 5Spoon the jam over the dough, spreading to form an even layer that reaches almost to the edges of the dough. Sprinkle over the berries.
Step 6Add the sliced almonds to the remaining dough, pressing until the mixture will clump in your hands. Crumble the mixture over the berries and jam.
Step 7Bake the bars until the topping is firm and lightly browned, about 45 minutes. Remove and cool on a rack before cutting into bars.