Preheat the oven to 400 degrees Fahrenheit.
1
Olive oil, garlic, salt, black pepper, red pepper flakes, and feta should all be put in a baking dish.
2
Combine well. If you want it golden brown, bake it for 35 minutes.
3
Cook the pasta until it reaches the al dente stage while the feta is baking.
4
Put aside one cup of the water from the pasta, then drain it and put it aside.
5
Take the tomato and feta mix out of the oven. Add the pasta and mix it well.
6
Add ¼ cup of pasta water at a time if the sauce is too dry. Add fresh herbs on top and serve.
7