adds permalink field