A self-sacrifice template strategy to synthesize Co-LDH/MXene for lithium-ion batteries.