Aromatizing olefin metathesis by ligand isolation inside a metal-organic framework.