01 - Preheat oven to 350°F. Grease and flour two 8-inch round cake pans, or line with parchment paper.
02 - Sift together flour, baking powder, and salt in a bowl. Set aside.
03 - Beat eggs and sugar together with an electric mixer until pale and thick, about 5 minutes. Mix in vanilla.
04 - Gently fold in the flour mixture until just combined.
05 - Mix milk and melted butter together, then fold into the batter until smooth.
06 - Divide batter evenly between prepared pans. Bake for 22-25 minutes, or until a toothpick comes out clean. Cool in pans for 10 minutes, then turn out onto racks to cool completely.
07 - In a saucepan, heat milk until just simmering. In a separate bowl, whisk together egg yolks, sugar, cornstarch, and salt.
08 - Slowly pour the hot milk into the yolk mixture, whisking constantly.
09 - Return mixture to saucepan and cook over medium heat, whisking, until thick and bubbling, about 2-3 minutes. Remove from heat, whisk in butter and vanilla. Transfer to a bowl, cover with plastic wrap touching the surface, and chill until cold.
10 - Place chopped chocolate and butter in a bowl. Heat cream to a simmer, then pour over the chocolate. Let sit 2 minutes, then stir until smooth.
11 - Place one cake layer on a serving plate. Spread cooled pastry cream evenly over the cake. Top with the second cake layer.
12 - Pour chocolate ganache over the top, letting it drip down the sides. Chill for at least 1 hour before serving.