Preheat the oven to 350F (180C). Grease and line a 8 inch (20cm) square pan with parchment paper, dividing the pan in half using an aluminum wall.
In a medium bowl combine flour with almond flour, baking powder and salt.
In a large bowl mix butter with sugar until creamy. Add eggs one at a time, and mix to incorporate.
Gradually add flour mixture and milk and mix to combine.
Divide batter in half.
For the almond batter incorporate almond extract.
For the chocolate batter mix cocoa powder, milk and sugar in a small bowl and incorporate in the other half of batter.
Pour each batter into one half of the prepared pan.
Bake for about 30-35 minutes until a toothpick inserted into the center of the cake comes out clean.
Remove from oven, cool for 5 minutes in the pan and then cool completely on a cooling rack.
Meanwhile warm the apricot jam, sieve and let cool.