Changed post links to use permalinks