Create permalinks from a page object instead of a file objects.