Spaghetti puttanesca

Ingredients 3 tbsp olive oil 1 onion, finely chopped 2 large garlic cloves, crushed ½ tsp chili flakes (optional) 400g can chopped tomatoes 5 anchovy fillets, finely chopped 120g pitted black olives 2 tbsp capers, drained …