Councils lead the way with pledge to tackle climate change