added permalink to posts