First, make the pastry. Tip the flour into a bowl, then add the butter and 1 tsp salt. Rub the butter into the flour using your fingertips until it has a damp, sandy texture. Mix in the thyme leaves. Whisk the egg yolk with 2 tbsp cold water, then use a cutlery knife to mix this into the crumbs until the mixture starts to clump together. Tip the pastry onto a work surface and knead briefly to bring together into a smooth dough, adding up to 1 tbsp more water if the pastry feels too dry. Shape into a disc, wrap in baking parchment and chill for 30 mins, or up to a day.