Preheat oven to 350. Add olive oil to a medium pan. Dice shallots and add to the pan, followed by spinach. Cook until spinach starts to wilt.
Meanwhile make your pesto. In a food processor, combine garlic, olive oil, basil, parmesan, pine nuts, salt and pepper. Blend until combined. Give it a taste test and adjust accordingly.
Evenly distribute spinach into cocottes. Top with grated fontina cheese. Top that with a layer of pesto. Crack and egg on top of that. Cover with lid and bake for 12-15 min or until egg is runny but cooked. Remove and enjoy!
Video
Notes
Bonus: If you are making crostinis with it, coat in olive oil and bake on 425 for about 6 min or until golden brown. Enjoy!