Slow cooking is what makes the onions in this cheese, onion and kale pie with walnut pastry: 20 minutes over a low heat turns three large ones soft, sweet and pale gold before they meet anything else. Dark green leaves run through the filling in ribbons, so every slice shows its vegetables against the pale potato and melted cheese. It serves six. Walnuts are toasted, then blitzed with flour, butter, salt, an egg yolk and ice-cold water to make the pastry, which is chilled. Potato slices are cooked until just tender, with shredded kale added for the final 2 minutes, then drained and dried. Sliced onions are cooked slowly in butter with thyme until soft and golden, then mixed with English mustard, double cream, crumbled vegetarian Lancashire cheese and nutmeg. The pastry lines a 23cm pie dish, the filling is layered in, and a pastry lid goes on, brushed with egg, before baking until golden.

Why it works

Lancashire melts to a soft, tangy creaminess without turning oily, and ground toasted walnuts make the pastry short and biscuity with a gentle bitterness. Slow-cooking the onions brings out their sweetness, and English mustard sharpens the creamy filling. Drying the potatoes and kale well keeps the pastry crisp.

Make it easy

Make the pastry and cook the onions the day before, then assemble and bake when needed. The baked pie keeps, covered, in the fridge for up to three days; reheat slices until steaming hot, or serve at room temperature with chutney.

Swaps

Cavolo nero or spring greens can replace the kale. Cheshire or a mature cheddar works instead of Lancashire; check the label to keep the pie vegetarian. Find more vegetarian pie recipes, kale recipes and walnut recipes.