diff --git a/_includes/funding-statement.md b/_includes/funding-statement.md index 5652781e554aec..4ab3130aa9b7f2 100644 --- a/_includes/funding-statement.md +++ b/_includes/funding-statement.md @@ -1,10 +1,10 @@ -{% if include.contributions.funding %} +{% if include.funders %}

{{locale['references']| default: "Funding" }}

These individuals or organisations provided funding support for the development of this resource

-{% for id in include.contributions.funding %} +{% for id in include.funders %} {% assign name = site.data.contributors[id].name | default: id -%} {% assign pfo = site.data.funders[id] | default: site.data.organisations[id] | default: site.data.contributors[id] | default: nil %} diff --git a/_layouts/event.html b/_layouts/event.html index f3789c5370d197..dfffb80df6ab71 100644 --- a/_layouts/event.html +++ b/_layouts/event.html @@ -94,7 +94,7 @@

Organisers & Instructors

{% if event.contributions.funding %} - {% include _includes/funding-statement.md contributions=page.contributions %} + {% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %} diff --git a/_layouts/learning-pathway.html b/_layouts/learning-pathway.html index 47cca2e20d400b..fc94d03e5ee111 100644 --- a/_layouts/learning-pathway.html +++ b/_layouts/learning-pathway.html @@ -76,7 +76,7 @@

Editorial Board

Funders

This material was funded by:

{% assign funders = pathway.funding | sorted %} - {% include _includes/funding-statement.md contributors=funders %} + {% include _includes/funding-statement.md funders=funders %} {% endif %} diff --git a/_layouts/news.html b/_layouts/news.html index 8ebc0a8942b51d..6b36b4d0f6c381 100644 --- a/_layouts/news.html +++ b/_layouts/news.html @@ -55,7 +55,7 @@

{{locale['references']| default: "References" }}

{% endif %} {% if page.contributions %} - {% include _includes/funding-statement.md contributions=page.contributions %} + {% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %}
diff --git a/_layouts/slides-plain.html b/_layouts/slides-plain.html index 24f310a3e30eba..107f0a9e1e57fa 100644 --- a/_layouts/slides-plain.html +++ b/_layouts/slides-plain.html @@ -93,5 +93,5 @@

{{locale['references']| default: "References" }}

{% endif %} {% if page.contributions %} -{% include _includes/funding-statement.md contributions=page.contributions %} +{% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %} diff --git a/_layouts/topic.html b/_layouts/topic.html index b4ee1d46b338f0..44947345f3d45f 100644 --- a/_layouts/topic.html +++ b/_layouts/topic.html @@ -93,7 +93,7 @@

Contributors

Funders

This material was funded by:

{% assign funders_list_sorted = topic_material | identify_funders: site %} - {% include _includes/funding-statement.html contributors=funders_list_sorted %} + {% include _includes/funding-statement.md funders=funders_list_sorted %} {% if topic.references %}

References

diff --git a/_layouts/tutorial_hands_on.html b/_layouts/tutorial_hands_on.html index 1e9bd8a9bd9f80..1796f53e403a8f 100644 --- a/_layouts/tutorial_hands_on.html +++ b/_layouts/tutorial_hands_on.html @@ -425,7 +425,7 @@

{{locale['citing-tutorial'] | default: "Citing this Tutorial"}}

{% if page.contributions %} - {% include _includes/funding-statement.md contributions=page.contributions %} + {% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %}