Revision 60038
Added by Argiro Kokogiannaki over 3 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/landingPages/result/resultLanding.component.ts | ||
---|---|---|
319 | 319 |
if ((this.type == "publication") && (this.properties.environment == "beta" || this.properties.environment == "development") && (typeof document !== 'undefined')) { |
320 | 320 |
this.getOpenCitations(); |
321 | 321 |
} |
322 |
|
|
322 |
if(this.resultLandingInfo.underCurationMessage && this.properties == "production"){ |
|
323 |
//set noindex for newly added records |
|
324 |
this._meta.updateTag({content: 'noindex'}, "name='robots'"); |
|
325 |
} |
|
323 | 326 |
if (this.resultLandingInfo.title) { |
324 | 327 |
this.updateTitle(this.resultLandingInfo.title); |
325 | 328 |
this.updateDescription((this.resultLandingInfo.description ? (this.resultLandingInfo.description) : ("," + this.resultLandingInfo.title))); |
Also available in: Unified diff
[Library|Trunk]
Result landing: update robots tag with "noindex" for newly added records (under curation)