How to Make It
In a large pot of boiling water, blanch the chard in batches until wilted, about 1 minute. Drain the chard, squeeze dry and chop it.
Heat the oil in the pot. Add the leeks and a pinch of salt. Cover and cook over moderately low heat, stirring, until tender, 7 minutes. Uncover, add the garlic and cook, stirring, until fragrant, 2 minutes. Add the chard, season with salt and remove from the heat.
Preheat the oven to 425°. Butter a 10-by-15-inch baking dish. In a large saucepan, melt the butter. Stir in the flour over moderate heat to form a paste. Gradually whisk in one-third of the milk and cook, whisking, until the mixture starts to thicken. Repeat two more times with the remaining milk. Bring the sauce to a boil, whisking constantly. Reduce the heat to low and cook, whisking often, until thickened and no floury taste remains, 15 minutes. Whisk in the cheeses and the nutmeg; season with salt and pepper. Mix the sauce into the leeks and chard. Season with salt and pepper.
Transfer the mixture to the prepared baking dish. Bake in the upper third of the oven for about 25 minutes, until bubbling and golden brown on top. Let rest for at least 10 minutes before serving.