A sol-gel monolithic metal-organic framework with enhanced methane uptake.