Preheat the oven to 160C/325F. Grease and line two 9” cake pans (or three 6” pans, as I did in the pictures).
Steam or simmer the spinach for a few minutes until wilted. Run under cold water to refresh, drain and squeeze out any excess moisture. Puree with a hand blender and set aside.
Cream the butter and sugar together with an electric mixer for a few minutes until light and fluffy. Add the eggs, one at a time and beat in well. Stir in the spinach puree, coconut milk, yogurt, vanilla and almond extract.
In a separate bowl, whisk the flour, baking powder, salt and coconut. Make a well in the centre and pour in the wet ingredients. Mix gently until just combined.
Pour the batter into the prepared pans and bake for 50 minutes (9” pans) or 25 minutes (6” pans) or until an inserted skewer comes out clean. Cool for 15 minutes in the pan and then turn out onto a wire rack to cool completely. Frost as desired.