add publication date to posts