Preheat your oven to 350ºF (180ºC) and adjust the oven rack to the lower middle position. Lightly grease a 9-inch (23cm) springform pan and line it with parchment paper.
In a large mixing bowl, combine the sugar, melted butter, oil, eggs, milk, yoghurt, and vanilla. Whisk until everything is well blended.
In another bowl, mix together the gluten free flour blend, almond flour, baking powder, xanthan gum, and salt. Gradually add the dry ingredients to the wet mixture, whisking until you achieve a smooth batter without any lumps.
Set the batter aside while you prepare the almond frangipane. In a separate bowl, combine the sugar, melted butter, eggs, vanilla, and almond extract. Mix until smooth.
Stir in the almond flour and salt until the mixture is well combined and smooth.
Transfer the frangipane to a piping bag with the end snipped off or use a large round piping tip.
Pour the almond cake batter into the prepared springform pan and smooth the top. Pipe the almond frangipane evenly over the cake batter, using parallel lines followed by perpendicular lines for even coverage.
Sprinkle the top with flaked almonds.
Bake in the preheated oven for about 60-70 minutes. If the almonds start to brown too much, cover the cake with a sheet of aluminum foil, shiny side up, and continue baking until done.
To check for doneness, insert a toothpick or cake tester into the center. It should come out with some frangipane but no raw cake batter. The cake should be slightly rounded on top and fully set.
Once baked, let the cake cool in the springform pan for about 15 minutes before transferring it to a wire rack to cool completely.
Before serving, dust the cake generously with powdered sugar. It can be enjoyed warm or at room temperature. Store any leftovers in a closed container in a cool, dry place for 3-4 days.
