add permalink to config