-
1
In a medium saucepan, melt the 3 tablespoons of butter.
-
2
Add the onion and cook over moderate heat, stirring occasionally, until softened, about 5 minutes.
-
3
Add the beer, cover and cook over low heat until the onion is very soft, about 30 minutes.
-
4
Drain the onion in a sieve set over a heatproof bowl; reserve the cooking liquid.
-
5
Transfer the onion to a blender and puree until smooth.
-
6
Scrape the onion puree into a small saucepan and season with salt and white pepper.
-
7
Preheat the oven to 400.
-
8
Return the onion cooking liquid to the saucepan.
-
9
Boil over high heat until reduced to 1/4 cup, about 3 minutes.
-
10
Remove from the heat and add the lemon juice.
-
11
Swirl in the 2 tablespoons of cold butter, 1 tablespoon at a time.
-
12
Season with salt and white pepper.
-
13
Oil a 9-by-13-inch baking dish.
-
14
Arrange the cod in the dish and drizzle with olive oil; rub the oil all over the fish.
-
15
Season the cod with salt, white pepper and piment d'Espelette and sprinkle with the thyme.
-
16
Bake for about 15 minutes, basting a few times with the pan juices, until the cod is just opaque throughout.
-
17
Gently reheat the onion puree and onion sauce; do not let the sauce boil.
-
18
Spoon the onion puree onto plates.
-
19
Set the cod on the puree and spoon the onion sauce on top.
-
20
Serve right away.