add permalink feature