Preheat the oven to 200C/400F.
Cut the pumpkin into small cubes, around 1cm X 1cm. Place the pumpkin on a baking tray and drizzle over the 20ml oil. Use your hands to coax it over all the pumpkin pieces.
Season well and cook for 15-25 minutes or until cooked to your liking. If you prefer whole chunks of pumpkin, cook it for the lower amount of time. If you prefer soft, mashed pumpkin, cook it for longer.
While the pumpkin is cooking, heat the oil in a medium saucepan over a medium heat. Add the sliced garlic and cook for around 5 minutes or until the garlic is golden. Set aside.
Bring a pot of very salty water to the boil and cook your pasta as per packet instructions.
Reserve around 250ml (1 cup) of starchy pasta water to thin your sauce. Once the pasta is al dente, drain it and return it to the pot.
Strain the garlic infused oil into the pasta, holding back the cooked garlic. You can add it to the pasta of the non-FODMAP diners if applicable.
Gently stir the pasta to coat, then season generously to taste.
Either gently mash the pumpkin or add the cubes whole. Stir gently to incorporate, then add the goat’s cheese. I like to reserve a small amount for topping. If you're using them, add the optional additions here to your tastes.
Serve the pasta into 4-5 plates and top with reserved goat’s cheese, some cracked pepper some chopped hazelnuts, if you’re using them.