-
1
Special equipment: a 3-quart baking dish
-
2
Melt the butter and oil in a large Dutch oven or pot over medium heat.
-
3
Add half the onions and celery, 1/2 teaspoon salt and a few grinds of pepper.
-
4
Top with the remaining onions and celery, 1/2 teaspoon salt, a few grinds of pepper, the bay leaves and the thyme sprigs.
-
5
Cook, uncovered and stirring occasionally, until all the liquid evaporates and the onions are very soft and golden brown, 45 minutes to 1 hour.
-
6
(If the onions are soft but could be more golden, increase the heat slightly for a few minutes toward the end of cooking.)
-
7
Add the flour, and stir until completely absorbed, about 1 minute.
-
8
Add the broth and wine, and simmer until almost completely evaporated, about 2 minutes.
-
9
Remove from the heat, and let cool for a few minutes.
-
10
Remove the bay leaves and thyme stems.
-
11
(The onions can be made, cooled and refrigerated up to 2 days ahead.)
-
12
Meanwhile, preheat the oven to 350 degrees F. Bake the baguette slices on a baking sheet until they're slightly toasted but not golden, 2 to 3 minutes per side.
-
13
Let cool.
-
14
Shingle and slightly overlap half the bread slices in a 3-quart baking dish.
-
15
Top with the onion mixture in 1 layer.
-
16
Shingle, overlapping, with the remaining bread.
-
17
Sprinkle the Gruyere over the top.
-
18
Cover with foil, and bake until the onion mixture is hot and the cheese is melted, about 40 minutes.
-
19
Remove the foil, switch the oven from bake to broil and broil until the top is golden in spots.
-
20
Sprinkle the thyme leaves over the top.
-
21
Serve hot.