add permalink for link posts.