Adds permalink format to config