format link to posts