Add changes for meta for Argiro
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51555 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
043828e401
commit
6ad89738c5
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<base href="/" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta name="description" content="open access, research, scientific publication, European Commission, EC, FP7, ERC, Horizon 2020, H2020, search, projects "/>
|
||||
<meta name="description" content="test"/>
|
||||
|
||||
<meta property="og:description" content="open access, research, scientific publication, European Commission, EC, FP7, ERC, Horizon 2020, H2020, search, projects "/>
|
||||
<meta property="og:title" content="Search OpenAIRE"/>
|
||||
<meta property="og:description" content="test "/>
|
||||
<meta property="og:title" content="OpenAIRE Connect"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:url" content="https://demo.openaire.eu"/>
|
||||
<meta property="og:site_name" content="OpenAIRE"/>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<title>Search OpenAIRE</title>
|
||||
<title>OpenAIRE Connect</title>
|
||||
<script>
|
||||
window.onerror = function (errorMsg, url, lineNumber, column, errorObj) {
|
||||
// console.log(errorMsg + " __" + url + " __" + lineNumber + " __" + column + " __" + errorObj);
|
||||
|
|
Loading…
Reference in New Issue