Pre-heat oven to 180ºC.
Make the pesto by adding all of the pesto ingredients to a pestle and mortar and grind until it forms into a smooth sauce.
When ready to assemble, roll out the pastry into a rectangle. Spread the goat cheese over the entire pastry, then add a layer of pesto.
Cut the pastry into strips length ways roughly 2cm wide, then sprinkle over a sparse layer of cranberries.
Fold the pastry strips like an accordion, making the bottom wider and getting smaller as you fold. Pierce with a skewer so they hold their shape.
Bake for 20 minutes until golden.
Serve warm with the leftover pesto on the side.