Substituting with almond flour will make the cake denser and richer. It will also require modifications of the other ingredients used in the recipe. The cake already has a significant amount of almonds in the form of paste.