Add sumbmenu in the research outcomes for the different types, update robots.txt (exclude covid-19)
This commit is contained in:
parent
1bc0fac14e
commit
f50db71c44
|
@ -112,12 +112,18 @@ export class AppComponent {
|
|||
}
|
||||
|
||||
buildMenu() {
|
||||
let researchOutcomesMenu = new MenuItem("", "Research Outcomes", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'});
|
||||
researchOutcomesMenu.items = [
|
||||
new MenuItem("", "Publications", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("publications") + '"'}),
|
||||
new MenuItem("", "Research data", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("datasets") + '"'}),
|
||||
new MenuItem("", "Software", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("software") + '"'}),
|
||||
new MenuItem("", "Other research products", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("other") + '"'})];
|
||||
//TODO add check for research results route
|
||||
this.menuItems = [
|
||||
{
|
||||
rootItem: new MenuItem("search", "Search", "", "/search/find", false, [], ["/search/find"], {qf: true}),
|
||||
items: [
|
||||
new MenuItem("", "Research Outcomes", "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'}),
|
||||
researchOutcomesMenu,
|
||||
new MenuItem("", "Projects", "", "/search/find/projects/", false, ["project"], ["/search/find/projects"], {}),
|
||||
new MenuItem("", "Content Providers", "", "/search/find/dataproviders", false, ["datasource"], ["/search/find/dataproviders"], {}),
|
||||
new MenuItem("", "Organizations", "", "/search/find/organizations/", false, ["organization"], ["/search/find/organizations"], {})
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b4b3e143bbb4ca2b33eadb6020d4ea016f408bfa
|
||||
Subproject commit 37c9e91efc72bc530ce9e8357f6a4149dd3157a4
|
|
@ -1,4 +1,3 @@
|
|||
User-Agent: *
|
||||
Disallow: /upload
|
||||
Disallow: /search/find/*&*&*&*
|
||||
Disallow: /search/find/*community=*
|
||||
Disallow: /search/find/*community="covid-19*
|
||||
|
|
Loading…
Reference in New Issue