Skip to content

Commit

Permalink
fix funding, invert one image
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Jun 3, 2024
1 parent 30cf643 commit 5141d88
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 10 deletions.
5 changes: 0 additions & 5 deletions _includes/funding-statement.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{% if include.funders %}
<div markdown="1">
<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>

<div class="d-flex flex-wrap">
{% for id in include.funders %}
{% assign name = site.data.contributors[id].name | default: id -%}
Expand All @@ -27,5 +23,4 @@
</a>
{% endfor %}
</div>
</div>
{% endif %}
4 changes: 2 additions & 2 deletions _layouts/learning-pathway.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ <h2 id="editorial-board">Editorial Board</h2>
{% include _includes/contributor-list.html contributors=editorial_board badge=true %}

{% if pathway.funding %}
<h2 id="funders">Funders</h2>
<p>This material was funded by:</p>
<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>
{% assign funders = pathway.funding | sorted %}
{% include _includes/funding-statement.md funders=funders %}
{% endif %}
Expand Down
4 changes: 4 additions & 0 deletions _layouts/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ <h2 id="bibliography">{{locale['references']| default: "References" }}</h2>
{% endif %}

{% if page.contributions %}
{% if page.contributions.funding %}
<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>
{% include _includes/funding-statement.md funders=page.contributions.funding %}
{% endif %}
{% endif %}
</div>

<div class="col-md-4">
Expand Down
5 changes: 5 additions & 0 deletions _layouts/slides-plain.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ <h2 id="bibliography">{{locale['references']| default: "References" }}</h2>
{% bibliography --cited %}
{% endif %}


{% if page.contributions %}
{% if page.contributions.funding %}
<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>
{% include _includes/funding-statement.md funders=page.contributions.funding %}
{% endif %}
{% endif %}
4 changes: 2 additions & 2 deletions _layouts/topic.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ <h2 id="contributors">Contributors</h2>
{% assign contributors_list_sorted = topic_material | identify_contributors: site %}
{% include _includes/contributor-list.html contributors=contributors_list_sorted badge=true %}

<h2 id="funders">Funders</h2>
<p>This material was funded by:</p>
<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>
{% assign funders_list_sorted = topic_material | identify_funders: site %}
{% include _includes/funding-statement.md funders=funders_list_sorted %}

Expand Down
2 changes: 2 additions & 0 deletions _layouts/tutorial_hands_on.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ <h1>{{locale['citing-tutorial'] | default: "Citing this Tutorial"}}</h1>
</p>
</blockquote>

<h2 id="funding">{{locale['references']| default: "Funding" }}</h2>
<p>These individuals or organisations provided funding support for the development of this resource</p>
{% if page.contributions %}
{% include _includes/funding-statement.md funders=page.contributions.funding %}
{% endif %}
Expand Down
5 changes: 5 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1865,3 +1865,8 @@ section.event {

}

body[data-brightness="dark"] {
img.invert-safe {
filter: invert(1);
}
}
2 changes: 1 addition & 1 deletion faqs/gtn/what-is-a-learning-pathway.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ contributors: [shiltemann]
---

<div style="display:inline-block;vertical-align:top;width:10%">
<img src="{{site.baseurl}}/assets/images/learning-pathway.png" alt="A graphic depicting a winding path from a start symbol to a trophy, with tutorials along the way" />
<img src="{{site.baseurl}}/assets/images/learning-pathway.png" alt="A graphic depicting a winding path from a start symbol to a trophy, with tutorials along the way" class="invert-safe" />
</div>
<div style="display:inline-block; margin-left: 2em; width:70%">
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.
Expand Down

0 comments on commit 5141d88

Please sign in to comment.