Project

General

Profile

« Previous | Next » 

Revision 59452

[use-UoaAdminToolsLibrary | Library]: Merge trunk into branch.

View differences:

searchAll.component.ts
147 147
        var description = "Search for research outcomes (publications, datasets, software, other research products), projects, organizations, content providers in the OpenAIRE Research Graph. ";
148 148
        var title = "OpenAIRE |Search for research outcomes, projects, content providers & organizations";
149 149
        this.properties = data.envSpecific;
150
        var url = data.envSpecific.baseLink + this._router.url;
150
        var url = this.properties.domain + this.properties.baseLink + this._router.url;
151 151
        this._title.setTitle(title);
152 152
        this._meta.updateTag({content: description}, "name='description'");
153 153
        this._meta.updateTag({content: description}, "property='og:description'");
154 154
        this._meta.updateTag({content: title}, "property='og:title'");
155 155
        this._meta.updateTag({content: url}, "property='og:url'");
156
        this.seoService.createLinkForCanonicalURL(this.properties.baseLink + this._router.url, false);
156
        this.seoService.createLinkForCanonicalURL(this.properties.domain +this.properties.baseLink +  this._router.url, false);
157 157
        if (this.properties.enablePiwikTrack && (typeof document !== 'undefined')) {
158 158
          this.subs.push(this._piwikService.trackView(this.properties, title, this.piwikSiteId).subscribe());
159 159

  

Also available in: Unified diff