Rosemary's flapjacks

Savoury flapjacks with rosemary, sweet chilli and caramelised onions