only show post link if link is true