Skip to content

Commit 0549490

Browse files
committed
Use array rather than delimited string when multiple project URLs are needed
...but split individual strings on space and only use first segment as URL, to handle cases like `http://website.com (blabla some text)`
1 parent 8d12853 commit 0549490

File tree

9 files changed

+27
-12
lines changed

9 files changed

+27
-12
lines changed

_layouts/project.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"dissolutionDate": "{{ page.end_date }}",
2424
{% endif %}
2525
{% if page.project_reference %}
26-
"funding": [ "{{ page.project_reference | split: ' ' | join: '","' }}"]
26+
"funding": ["{{ page.project_reference | join: '", "' }}"]
2727
{% endif %}
2828
}
2929
</script>
@@ -53,9 +53,8 @@ <h2 class="post-tagline">{{ page.description }}</h2>
5353
{% endif %}
5454
{% if page.project_reference %}
5555
<li>Project reference:
56-
{% assign references = page.project_reference | split: ' ' %}
57-
{% for dur in references %}
58-
<a href="{{ dur }}">{{ dur }}</a>
56+
{% for dur in page.project_reference %}
57+
<a href="{{ dur | split: ' ' | first }}">{{ dur }}</a>
5958
{% endfor %}
6059
</li>
6160
{% endif %}

_projects/agroserv.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ logo: agroserv.png
99
website: https://agroserv.eu/
1010
start_date: 2022-10-01
1111
duration: 5 years
12-
project_reference: https://doi.org/10.3030/101058020 https://gtr.ukri.org/projects?ref=10038927
12+
project_reference:
13+
- https://doi.org/10.3030/101058020
14+
- https://gtr.ukri.org/projects?ref=10038927
1315
expired: false
1416
---
1517

_projects/biodiversitygenomics.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ website: https://biodiversitygenomics.eu/
1010
start_date: 2022-09-01
1111
end_date: 2026-02-28
1212
duration: 42 months
13-
project_reference: https://doi.org/10.3030/101059492 https://gtr.ukri.org/projects?ref=10040409
13+
project_reference:
14+
- https://doi.org/10.3030/101059492
15+
- https://gtr.ukri.org/projects?ref=10040409
1416
---
1517

1618
## Biodiversity in crisis

_projects/biodt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ logo: biodt.svg
99
website: https://biodt.eu/
1010
start_date: 2022-06-01
1111
duration: 36 months
12-
project_reference: https://doi.org/10.3030/101057437 https://gtr.ukri.org/projects?ref=10038930
12+
project_reference:
13+
- https://doi.org/10.3030/101057437
14+
- https://gtr.ukri.org/projects?ref=10038930
1315
---
1416

1517
The Biodiversity Digital Twin prototype provides advanced models for simulation and prediction capabilities, through practical use cases addressing critical issues related to global biodiversity dynamics.

_projects/bioexcel.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ website: https://bioexcel.eu
1010
start_date: 2015-11-01
1111
duration: 3+3.5 years
1212
expired: true
13-
project_reference: https://doi.org/10.3030/823830 https://doi.org/10.3030/675728
13+
project_reference:
14+
- https://doi.org/10.3030/823830
15+
- https://doi.org/10.3030/675728
1416
---
1517

1618
[BioExcel](https://bioexcel.eu/) is a **Centre of Excellence for Biomolecular

_projects/bioindustry-4.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ logo: bioindustry4.0.png
99
website: https://www.ibisba.eu/Global-News/IBISBA-Joins-Three-New-Horizon-Europe-Projects
1010
start_date: 2023-01-01
1111
duration: 48 months
12-
project_reference: https://doi.org/10.3030/101094287 https://gtr.ukri.org/projects?ref=10048146
12+
project_reference:
13+
- https://doi.org/10.3030/101094287
14+
- https://gtr.ukri.org/projects?ref=10048146
1315
---
1416

1517
[IBISBA](ibisba.md) will team up with ESFRI-landmark RIs such as [ELIXIR](elixir.md), Mirri, BBMRI and DSMZ, innovative companies and several research groups in an ambitious 4-year work plan to encourage the adoption of advanced digital technologies in industrial biotechnology. These include innovative measurement devices for online monitoring, data management tools for data quality, open science, and AI learning to support bioprocess design.

_projects/eosc4cancer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ website: https://eosc4cancer.eu/
1010
start_date: 2022-09-01
1111
end_date: 2025-02-28
1212
duration: 30 months
13-
project_reference: https://doi.org/10.3030/101058427 https://gtr.ukri.org/projects?ref=10038961
13+
project_reference:
14+
- https://doi.org/10.3030/101058427
15+
- https://gtr.ukri.org/projects?ref=10038961
1416
---
1517

1618
Funded by call [HORIZON-INFRA-2021-EOSC-01-06](https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/opportunities/topic-details/horizon-infra-2021-eosc-01-06) 101058427, EOSC4Cancer will provide a federated infrastructure for the exploitation of cancer data for the [EU Cancer Mission](https://doi.org/10.2777/989951).

_projects/eurosciencegateway.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ logo: eurosciencegateway.svg
99
website: https://eurosciencegateway.eu/
1010
start_date: 2022-09-01
1111
duration: 36 months
12-
project_reference: https://doi.org/10.3030/101057388 https://gtr.ukri.org/projects?ref=10038963
12+
project_reference:
13+
- https://doi.org/10.3030/101057388
14+
- https://gtr.ukri.org/projects?ref=10038963
1315
---
1416

1517
## Motivation

_projects/fair-impact.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ logo: fair-impact.svg
99
website: http://fair-impact.eu/
1010
start_date: 2022-06-01
1111
duration: 36 months
12-
project_reference: https://doi.org/10.3030/101057344 https://gtr.ukri.org/projects?ref=10038992
12+
project_reference:
13+
- https://doi.org/10.3030/101057344
14+
- https://gtr.ukri.org/projects?ref=10038992
1315
---
1416

1517
The FAIR-IMPACT project will identify and design practical solutions, guidelines and frameworks to realise an EOSC of FAIR data and services. The project gathers 28 partners from 11 countries.

0 commit comments

Comments
 (0)