1. Gently melt the 50g of chocolate in a small saucepan.
2. Meanwhile, beat the whole eggs.
3. Gradually add the sugar, then the sifted baking powder with the flour.
4. Then incorporate the melted chocolate into this mixture.
5. Grease a 9x5-inch loaf pan and pour in the batter.
6. Place it in the oven at medium heat.
7. Check the doneness by inserting a knife blade into the center of the cake, which should come out clean; otherwise, wait a few minutes.
8. Unmold it onto a wire rack.
9. Cut the cake in half and cover it with the pineapple that has been macerated in rum; cover this layer of pineapple with whipped cream.
10. Reassemble the cake, glaze it with previously melted fondant chocolate.
11. Decorate with some chocolate shavings.
12. Chill before serving.