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 with an electric mixer until pale and thick, about 5 minutes. Mix in vanilla.
04 - Gently fold in the flour mixture until just combined. Mix milk and melted butter together, then fold into the batter until smooth.
05 - 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.
06 - Heat milk in a saucepan until just simmering. Meanwhile, whisk together egg yolks, sugar, cornstarch, and salt in a separate bowl.
07 - Slowly pour hot milk into the yolk mixture while whisking constantly. Return to saucepan and cook over medium heat, whisking, until thick and bubbling, about 2-3 minutes. Remove from heat, whisk in butter and vanilla. Cover with plastic wrap touching the surface and chill until cold.
08 - 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.
09 - Place one cake layer on a serving plate. Spread cooled pastry cream evenly over the cake. Top with the second cake layer.
10 - Pour chocolate ganache over the top, letting it drip down the sides. Chill for at least 1 hour before serving.