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 the flour mixture into the egg 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 - Heat milk in a saucepan until just simmering.
08 - Whisk together egg yolks, sugar, cornstarch, and salt in a separate bowl.
09 - Slowly pour hot milk into yolk mixture, 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 surface and chill until cold.
10 - Place chopped chocolate and butter in a bowl. Heat cream to a simmer, pour over 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 second cake layer.
12 - Pour chocolate ganache over the top, letting it drip down the sides. Chill for at least 1 hour before serving.