adding post_link to post data for use in templates