Prevent template permalink data from showing page partial urls.