Preheat oven to 350° F. Butter two 8-inch cake pans and line with parchment paper. Set aside.
In a large saucepot, combine beer and butter. Cook over medium heat until butter has melted. Remove from heat and add cocoa powder and sugar. Stir until incorporated. Add eggs one at a time and whisk until incorporated. Mix in vanilla.
In another bowl, whisk together flour, baking powder, baking soda, and salt. Add dry mixture in three additions, alternating with yogurt. Begin and end with dry mixture. Mix until thoroughly combined.
Divide batter evenly between prepared cake pans. If desired, use a kitchen scale to ensure cake batter is even. Level off batter using a mini offset or the back of a spoon.
Bake for 40-50 minutes until cake is done and a toothpick inserted in center of cake comes out clean. Let cake cool in pan for 5-8 minutes. Unmold cake and allow to cool to room temperature on a wire rack.