File tree Expand file tree Collapse file tree
features/containers/pages/container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,22 +89,23 @@ <h2>{{ container.name }}</h2>
8989 Manual
9090 < svg-icon src ="assets/icons/fluent-icons/ic_fluent_arrow_up_right_12_regular.svg " svgClass ="thick " />
9191 </ a >
92- < a href ="https://bio-protocol.org/en/searchlist?content={{ container.name }} " target ="_blank ">
92+
93+ < a href ="https://bio-protocol.org/en/searchlist?{{ containerMetadata?.custom_searches?.bioprotocol ?? ('content=' + container.name) }} " target ="_blank ">
9394 < svg-icon src ="assets/icons/logos/bio-protocol.svg " />
9495 Bio-Protocol
9596 < svg-icon src ="assets/icons/fluent-icons/ic_fluent_arrow_up_right_12_regular.svg " svgClass ="thick " />
9697 </ a >
97- < a href ="https://bio-protocol.org/exchange/searchlist?content= {{ container.name }} " target ="_blank ">
98+ < a href ="https://bio-protocol.org/exchange/searchlist?{{ containerMetadata?.custom_searches?.bioprotocol_exchange ?? ('content=' + container.name) }} " target ="_blank ">
9899 < svg-icon src ="assets/icons/logos/bio-protocol.svg " />
99100 Bio-Protocol Exchange
100101 < svg-icon src ="assets/icons/fluent-icons/ic_fluent_arrow_up_right_12_regular.svg " svgClass ="thick " />
101102 </ a >
102- < a href ="https://pubmed.ncbi.nlm.nih.gov/?term= {{ container.name }} " target ="_blank ">
103+ < a href ="https://pubmed.ncbi.nlm.nih.gov/?{{ containerMetadata?.custom_searches?.pubmed ?? ('term=' + container.name) }} " target ="_blank ">
103104 < svg-icon src ="assets/icons/logos/PubMed.svg " />
104105 PubMed
105106 < svg-icon src ="assets/icons/fluent-icons/ic_fluent_arrow_up_right_12_regular.svg " svgClass ="thick " />
106107 </ a >
107- < a href ="https://scholar.google.es/scholar?q= {{ container.name }} " target ="_blank ">
108+ < a href ="https://scholar.google.es/scholar?{{ containerMetadata?.custom_searches?.scholar ?? ('q=' + container.name) }} " target ="_blank ">
108109 < svg-icon src ="assets/icons/logos/google-scholar.svg " />
109110 Google Scholar
110111 < svg-icon src ="assets/icons/fluent-icons/ic_fluent_arrow_up_right_12_regular.svg " svgClass ="thick " />
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export type ImageMetadata = {
2323 icon : string ;
2424 input_data_type : string [ ] ;
2525 auto_tests : AutoTests [ ] ;
26+ custom_searches ?: CustomSearches ;
2627} ;
2728
2829type Recommended = {
@@ -43,3 +44,10 @@ type AutoTests = {
4344 add_config : string ;
4445 commands : string ;
4546}
47+
48+ type CustomSearches = {
49+ pubmed ?: string ;
50+ scholar ?: string ;
51+ bioprotocol ?: string ;
52+ bioprotocol_exchange ?: string ;
53+ } ;
You can’t perform that action at this time.
0 commit comments