Dice the garlic and spring onions (can also be half a normal onion) and fry them briefly in oil. Add the spinach, season with salt and pepper and sauté for 5 minutes. Cut the halloumi into 1 cm thick slices. Cut the tomatoes into 1 cm wide strips.
In a lightly greased casserole dish, first layer the spinach, then the sun-dried tomatoes (if fresh ones are used, lightly salt and pepper them) and layer the halloumi on top. Put the whole thing in the oven.
Take out after 20 minutes, sprinkle with the chopped pine nuts and let them brown in the oven for another 10 minutes. Eventually increase the temperature to 200 degrees (depends on the oven).