fix bug: if post/page has no info,auto generate