refact post summary