From 5141d883e78d0755ebc977ab64f9935247d779a4 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Mon, 3 Jun 2024 15:38:18 +0200 Subject: [PATCH] fix funding, invert one image --- _includes/funding-statement.md | 5 ----- _layouts/learning-pathway.html | 4 ++-- _layouts/news.html | 4 ++++ _layouts/slides-plain.html | 5 +++++ _layouts/topic.html | 4 ++-- _layouts/tutorial_hands_on.html | 2 ++ assets/css/main.scss | 5 +++++ faqs/gtn/what-is-a-learning-pathway.md | 2 +- 8 files changed, 21 insertions(+), 10 deletions(-) diff --git a/_includes/funding-statement.md b/_includes/funding-statement.md index 4ab3130aa9b7f2..e49a1933bcab51 100644 --- a/_includes/funding-statement.md +++ b/_includes/funding-statement.md @@ -1,8 +1,4 @@ {% if include.funders %} -
-

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

-

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

-
{% for id in include.funders %} {% assign name = site.data.contributors[id].name | default: id -%} @@ -27,5 +23,4 @@ {% endfor %}
-
{% endif %} diff --git a/_layouts/learning-pathway.html b/_layouts/learning-pathway.html index fc94d03e5ee111..bb45a2e156f533 100644 --- a/_layouts/learning-pathway.html +++ b/_layouts/learning-pathway.html @@ -73,8 +73,8 @@

Editorial Board

{% include _includes/contributor-list.html contributors=editorial_board badge=true %} {% if pathway.funding %} -

Funders

-

This material was funded by:

+

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

+

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

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

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

{% endif %} {% if page.contributions %} + {% if page.contributions.funding %} +

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

+

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

{% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %} + {% endif %}
diff --git a/_layouts/slides-plain.html b/_layouts/slides-plain.html index 107f0a9e1e57fa..35b57e69fa44ca 100644 --- a/_layouts/slides-plain.html +++ b/_layouts/slides-plain.html @@ -92,6 +92,11 @@

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

{% bibliography --cited %} {% endif %} + {% if page.contributions %} +{% if page.contributions.funding %} +

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

+

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

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

Contributors

{% assign contributors_list_sorted = topic_material | identify_contributors: site %} {% include _includes/contributor-list.html contributors=contributors_list_sorted badge=true %} -

Funders

-

This material was funded by:

+

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

+

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

{% assign funders_list_sorted = topic_material | identify_funders: site %} {% include _includes/funding-statement.md funders=funders_list_sorted %} diff --git a/_layouts/tutorial_hands_on.html b/_layouts/tutorial_hands_on.html index 1796f53e403a8f..5b28a5ca802fa6 100644 --- a/_layouts/tutorial_hands_on.html +++ b/_layouts/tutorial_hands_on.html @@ -424,6 +424,8 @@

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

+

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

+

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

{% if page.contributions %} {% include _includes/funding-statement.md funders=page.contributions.funding %} {% endif %} diff --git a/assets/css/main.scss b/assets/css/main.scss index 2aa4a4d870eeaf..05e38a016b9529 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1865,3 +1865,8 @@ section.event { } +body[data-brightness="dark"] { + img.invert-safe { + filter: invert(1); + } +} diff --git a/faqs/gtn/what-is-a-learning-pathway.md b/faqs/gtn/what-is-a-learning-pathway.md index 9965e6f2f61f1a..bfd9c3bad717a8 100644 --- a/faqs/gtn/what-is-a-learning-pathway.md +++ b/faqs/gtn/what-is-a-learning-pathway.md @@ -7,7 +7,7 @@ contributors: [shiltemann] ---
-A graphic depicting a winding path from a start symbol to a trophy, with tutorials along the way +A graphic depicting a winding path from a start symbol to a trophy, with tutorials along the way
We recommend you follow the tutorials in the order presented on this page. They have been selected to fit together and build up your knowledge step by step. If a lesson has both slides and a tutorial, we recommend you start with the slides, then proceed with the tutorial.