[Explore |Trunk]

Angular.json
for beta/prod configurations add files and replacements for index.html, robots.txt



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59030 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-06-30 16:03:06 +00:00
parent 2dca865d5f
commit b55b638115
7 changed files with 181 additions and 52 deletions

View File

@ -99,7 +99,7 @@
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"buildOptimizer": true
}
}
},
@ -185,6 +185,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
},
{
"replace": "src/index.html",
"with": "src/index.prod.html"
},
{
"replace": "src/robots.txt",
"with": "src/robots.prod.txt"
}
]
},
@ -193,6 +201,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.beta.ts"
},
{
"replace": "src/index.html",
"with": "src/index.beta.html"
},
{
"replace": "src/robots.txt",
"with": "src/robots.beta.txt"
}
]
},
@ -201,6 +217,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
},
{
"replace": "src/index.html",
"with": "src/index.beta.html"
},
{
"replace": "src/robots.txt",
"with": "src/robots.beta.txt"
}
]
},

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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="openAIRE explore, open access, publications, research results, European commission, search"/>
<meta property="og:description" content="openAIRE explore, open access, publications, research results, European commission, search"/>
<meta property="og:title" content="OpenAIRE - Explore"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://beta.explore.openaire.eu"/>
<meta property="og:site_name" content="OpenAIRE - Explore"/>
<meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
<meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="360" />
<meta property="og:image:height" content="359" />
<meta name="robots" content="noindex">
<link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/common-assets/logo/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
<link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="manifest" href="assets/common-assets/logo/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>Search OpenAIRE</title>
</head>
<body class="" style="">
<div class="uk-offcanvas-content uk-height-viewport">
<app-root></app-root>
</div>
<script type="text/javascript" >
function loadAltmetrics(e,t,n){
var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
};
</script>
</body>
</html>

View File

@ -19,10 +19,7 @@
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="360" />
<meta property="og:image:height" content="359" />
<!--meta name="robots" content="noindex"-->
<meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
<meta name="msvalidate.01" content="AE99823CD202A982BAA0154148234DA8" />
<meta name="yandex-verification" content="a7b057437d324960" />
<meta name="robots" content="noindex">
<link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
@ -44,24 +41,6 @@
<title>Search OpenAIRE</title>
<!-- <script src="assets/common-assets/common/jquery.js"></script>-->
<!-- <script src="assets/common-assets/common/uikit.min.js?v=4"></script>-->
<!-- <script src="assets/common-assets/common/uikit-icons.min.js?v=4"></script>-->
<!--<script>-->
<!--$(document).ready(function(){-->
<!-- console.log("Is ready - load uikit ***")-->
<!-- $.getScript("assets/common-assets/common/uikit.min.js?v=5");-->
<!-- $.getScript("assets/common-assets/common/uikit-icons.min.js?v=5");-->
<!--});-->
<!--</script>-->
<!-- <link rel="stylesheet" href="assets/common-assets/common/theme.css?v=5">-->
<!-- <link rel="stylesheet" href="assets/common-assets/common/custom.css?v=5">-->
<!-- <link rel="stylesheet" href="assets/common-assets/library.css?v=8">-->
<!-- <link rel="stylesheet" href="assets/explore-custom.css?v=8">-->
</head>
<body class="" style="">

View File

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en-gb" dir="ltr" vocab="http://schema.org/">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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="openAIRE explore, open access, publications, research results, European commission, search"/>
<meta property="og:description" content="openAIRE explore, open access, publications, research results, European commission, search"/>
<meta property="og:title" content="OpenAIRE - Explore"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://explore.openaire.eu"/>
<meta property="og:site_name" content="OpenAIRE - Explore"/>
<meta property="og:image" content="assets/common-assets/common/Symbol.png"/>
<meta property="og:image:secure_url" content="assets/common-assets/common/Symbol.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="360" />
<meta property="og:image:height" content="359" />
<meta name="google-site-verification" content="rZ-58gIX8IqzBte6Qv4J5yY9aSiDP15Dfc1Yr9yezqE" />
<meta name="msvalidate.01" content="AE99823CD202A982BAA0154148234DA8" />
<meta name="yandex-verification" content="a7b057437d324960" />
<link rel="apple-touch-icon" sizes="57x57" href="assets/common-assets/logo/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/common-assets/logo/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/common-assets/logo/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/common-assets/logo/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/common-assets/logo/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/common-assets/logo/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/common-assets/logo/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/common-assets/logo/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/common-assets/logo/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/common-assets/logo/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/common-assets/logo/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/common-assets/logo/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/common-assets/logo/favicon-16x16.png">
<link href="assets/common-assets/logo/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="manifest" href="assets/common-assets/logo/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>Search OpenAIRE</title>
</head>
<body class="" style="">
<div class="uk-offcanvas-content uk-height-viewport">
<app-root></app-root>
</div>
<script type="text/javascript" >
function loadAltmetrics(e,t,n){
var d="createElement",c="getElementsByTagName",m="setAttribute",n=document.getElementById(e);
return n&&n.parentNode&&n.parentNode.removeChild(n),n=document[d+"NS"]&&document.documentElement.namespaceURI,n=n?document[d+"NS"](n,"script"):document[d]("script"),n[m]("id",e),n[m]("src",t),(document[c]("head")[0]||document[c]("body")[0]).appendChild(n),n=new Image,void n[m]("src","https://d1uo4w7k31k5mn.cloudfront.net/donut/0.png")
};
</script>
</body>
</html>

View File

@ -0,0 +1,3 @@
User-Agent: *
Disallow: /

View File

@ -0,0 +1,29 @@
User-Agent: *
Disallow: /upload
Disallow: /participate/direct-claim
Disallow: /myclaims
Disallow: /claims
Disallow: /search/dataset?datasetId=*
Disallow: /search/other?orpId=*
Disallow: /search/project?projectId=*
Disallow: /search/dataprovider?datasourceId=*
Disallow: /search/organization?organizationId=*
Disallow: /project-report?projectId=*
Disallow: /search/find/datasets/
Disallow: /search/find/other/
Disallow: /search/find/projects/
Disallow: /search/find/dataproviders/
Disallow: /search/find/organizations/
Disallow: /search/advanced/datasets/
Disallow: /search/advanced/other/
Disallow: /search/advanced/projects/
Disallow: /search/advanced/dataproviders/
Disallow: /search/advanced/organizations/
Sitemap: https://explore.openaire.eu/sitemap.xml
Sitemap: https://explore.openaire.eu/publicationSitemap.xml
Sitemap: https://explore.openaire.eu/softwareSitemap.xml

View File

@ -1,31 +1,3 @@
User-Agent: *
Disallow: /upload
Disallow: /participate/direct-claim
Disallow: /myclaims
Disallow: /claims
Disallow: /search/dataset?datasetId=*
Disallow: /search/other?orpId=*
Disallow: /search/project?projectId=*
Disallow: /search/dataprovider?datasourceId=*
Disallow: /search/organization?organizationId=*
Disallow: /project-report?projectId=*
Disallow: /search/find/datasets/
Disallow: /search/find/other/
Disallow: /search/find/projects/
Disallow: /search/find/dataproviders/
Disallow: /search/find/organizations/
Disallow: /search/advanced/datasets/
Disallow: /search/advanced/other/
Disallow: /search/advanced/projects/
Disallow: /search/advanced/dataproviders/
Disallow: /search/advanced/organizations/
#Disallow: /
Sitemap: https://explore.openaire.eu/sitemap.xml
Sitemap: https://explore.openaire.eu/publicationSitemap.xml
Sitemap: https://explore.openaire.eu/softwareSitemap.xml
Disallow: /