diff --git a/src/app/communities/communities.component.ts b/src/app/communities/communities.component.ts index d596a64..7716e46 100644 --- a/src/app/communities/communities.component.ts +++ b/src/app/communities/communities.component.ts @@ -38,8 +38,8 @@ export class CommunitiesComponent { private _communitiesService:CommunitiesService, private config: ConfigurationService ) { - var description = "open access, research, scientific publication, European Commission, EC, FP7, ERC, Horizon 2020, H2020, search, projects "; - var title = "OpenAIRE"; + var description = "Community Dashboard"; + var title = "Community Dashboard"; this._meta.setTitle(title); this._meta.updateMeta("description", description); diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts index a106cad..77c196c 100644 --- a/src/app/community/community.component.ts +++ b/src/app/community/community.component.ts @@ -50,8 +50,8 @@ export class CommunityComponent { private _communityService:CommunityService, private _searchEntriesService:SearchEntriesService) { - var description = "open access, research, scientific publication, European Commission, EC, FP7, ERC, Horizon 2020, H2020, search, projects "; - var title = "OpenAIRE"; + var description = "Community Dashboard"; + var title = "Community Dashboard"; this._meta.setTitle(title); this._meta.updateMeta("description", description); @@ -82,6 +82,10 @@ export class CommunityComponent { community => { this.community = community; this.params = {community: encodeURIComponent('"'+community.queryId+'"')}; + this._meta.setTitle(community.title); + this._meta.updateMeta("description", community.description); + this._meta.updateProperty("og:description", community.description); + this._meta.updateProperty("og:title", community.title); //console.log(community); }); diff --git a/src/index.html b/src/index.html index ba8f349..5322f87 100644 --- a/src/index.html +++ b/src/index.html @@ -7,10 +7,10 @@ - + - - + + @@ -40,7 +40,7 @@ - Search OpenAIRE + OpenAIRE Connect