elixir-toolkit-theme 4.2.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/_includes/affiliation-logo.html +10 -0
- data/_includes/affiliation-tiles-page.html +27 -27
- data/_includes/citation-page.html +19 -17
- data/_includes/contributor-avatar.html +16 -0
- data/_includes/contributor-card.html +33 -0
- data/_includes/contributor-carousel-selection.html +19 -69
- data/_includes/contributor-minitiles-page.html +18 -108
- data/_includes/contributor-tiles-all.html +8 -61
- data/_includes/events.html +1 -1
- data/_includes/footer.html +16 -6
- data/_includes/github-buttons.html +18 -22
- data/_includes/head.html +36 -30
- data/_includes/more-information-tiles.html +5 -5
- data/_includes/news.html +1 -1
- data/_includes/page-metadata-tabs.html +92 -0
- data/_includes/pageids-overview.html +1 -1
- data/_includes/related-pages.html +1 -1
- data/_includes/resource-table-all.html +29 -17
- data/_includes/resource-table-page.html +2 -2
- data/_includes/scroll-top.html +1 -1
- data/_includes/section-navigation-tiles.html +12 -7
- data/_includes/sidebar.html +58 -42
- data/_includes/toc.html +1 -1
- data/_includes/topnav.html +2 -1
- data/_layouts/default.html +3 -3
- data/_layouts/page.html +5 -5
- data/_sass/_bootstrap_variables.scss +2 -1
- data/_sass/_variables.scss +11 -17
- data/assets/css/main.scss +287 -146
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/favicon.svg +24 -0
- data/assets/img/site.webmanifest +19 -17
- data/assets/img/web-app-manifest-192x192.png +0 -0
- data/assets/img/web-app-manifest-512x512.png +0 -0
- data/assets/js/custom.js +0 -0
- data/assets/js/main.js +133 -22
- data/assets/js/toc.js +66 -35
- metadata +12 -8
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/safari-pinned-tab.svg +0 -29
- data/assets/js/jquery.navgoco.js +0 -314
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e056672e004a2c043dba792f32755cd49be63a9c9f6f04af3e60d6134204908d
|
|
4
|
+
data.tar.gz: a9ad5a24a302317452020fdb4647187e7795f26a8c698398683d2b2f1ce38570
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ca08bd09ef240f7e17cca76dc31ba86716767358fe36662c984be035150a6ed4bd88fcbdf4994b493b0cc2fe253f1e92ed0e57f89e1460004915b4fd2d52ea7
|
|
7
|
+
data.tar.gz: d388f54594ffc120a96c9f781eb561f22761e4080ca04e3a0c25ab81e27e9e62c4d577c90661175a664664241848ef86d8e65fbcd6834830e7ccaf61b524e02a
|
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ remote_theme: ELIXIR-Belgium/elixir-toolkit-theme
|
|
|
37
37
|
You can lock it onto a specific version using:
|
|
38
38
|
|
|
39
39
|
```yaml
|
|
40
|
-
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@
|
|
40
|
+
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@5.0.0
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
### Using Ruby Gems (alternative)
|
|
@@ -50,7 +50,7 @@ gem "elixir-toolkit-theme"
|
|
|
50
50
|
You can lock it onto a specific version like this:
|
|
51
51
|
|
|
52
52
|
```ruby
|
|
53
|
-
gem "elixir-toolkit-theme", "~>
|
|
53
|
+
gem "elixir-toolkit-theme", "~> 5.0.0"
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
And add this line to your Jekyll site's `_config.yml`:
|
|
@@ -81,7 +81,7 @@ NOTE: This way of deploying does not support the tool-tag in the text of the mar
|
|
|
81
81
|
Add an extra `.gitlab-ci.yml` file in the root of the repo with:
|
|
82
82
|
|
|
83
83
|
```yml
|
|
84
|
-
image: ruby:
|
|
84
|
+
image: ruby:3.3
|
|
85
85
|
|
|
86
86
|
variables:
|
|
87
87
|
JEKYLL_ENV: production
|
|
@@ -131,6 +131,7 @@ pages:
|
|
|
131
131
|
```
|
|
132
132
|
JEKYLL_ENV=production PAGES_REPO_NWO='USER_OR_ORGANISATION/REPO_NAME' bundle exec jekyll serve --baseurl ""
|
|
133
133
|
```
|
|
134
|
+
Where `USER_OR_ORGANISATION/REPO_NAME` is the GitHub USER_OR_ORGANISATION/REPO_NAME (to be found in the url).
|
|
134
135
|
|
|
135
136
|
1. To preview your site, in your web browser, navigate to `http://localhost:4000`.
|
|
136
137
|
|
|
@@ -163,12 +164,17 @@ This will start the docker container and serve the website locally. Make sure th
|
|
|
163
164
|
- [TRE-FX](https://trefx.uk/) (DARE UK, HDR UK)
|
|
164
165
|
- [Norwegian Life Science RDM LookUp](https://elixir.no/rdm-lookup/) (ELIXIR Norway)
|
|
165
166
|
- [RSQkit: Research Software Quality kit](https://everse.software/RSQKit/) (EOSC-EVERSE)
|
|
166
|
-
- [
|
|
167
|
+
- [research-data.no](https://plan.research-data.no/pages/) (ELIXIR Norway & BOTT universities Norway)
|
|
167
168
|
- [Learning-Library](https://patcapon39.github.io/Learning-Library/) (Australian BioCommons)
|
|
168
169
|
- [ELIXIR-IT Training Platform](https://elixir-iib-training.github.io/site/training_courses) (ELIXIR IT)
|
|
169
170
|
- [FAIRDOM-SEEK Documentation](https://docs.seek4science.org/) (SEEK community)
|
|
170
171
|
- [FAIR Lesson Plan Handbook](https://elixir-europe-training.github.io/ELIXIR-TrP-FAIR-Converge/) (ELIXIR Training platform)
|
|
171
172
|
- [Data Steward Handbook](https://elixir-uk.github.io/elixir-ds-handbook) (ELIXIR RDM Community)
|
|
173
|
+
- [Fed-A-Crate](https://elixir-europe.github.io/fed-a-crate/how-to-contribute) (ELIXIR Fed-A-Crate project)
|
|
174
|
+
- [Federated Learning toolkit (FLkit)](https://uhasselt-biomedicaldatasciences.github.io/federated-learning-toolkit/) (UHasselt)
|
|
175
|
+
- [mTeSS-X](https://elixirtess.github.io/mTeSS-X/) (OSCARS project)
|
|
176
|
+
- [Galaxy Codex](https://galaxyproject.github.io/galaxy_codex/) (Galaxy Community)
|
|
177
|
+
- [ELIXIR Software Management Plan](https://elixir-europe.github.io/software-management-plans/community/) (ELIXIR SMP Community)
|
|
172
178
|
- Want your instance here? [Open an issue](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme/issues)
|
|
173
179
|
|
|
174
180
|
## Dependencies
|
|
@@ -181,7 +187,6 @@ This theme would not be possible without following open source projects:
|
|
|
181
187
|
- [lunr.js](https://github.com/olivernn/lunr.js) - Main tool behind the search bar enabling content search
|
|
182
188
|
- [jQuery](https://github.com/jquery/jquery) - A fast, small, and feature-rich JavaScript library for easy scripting
|
|
183
189
|
- [jekyll-table-of-contents](https://github.com/ghiculescu/jekyll-table-of-contents) - Lightweight JS script to render the table of contents
|
|
184
|
-
- [jQuery Navgoco Menus](https://github.com/tefra/navgoco) - Multi-level slide navigation with accordion effect
|
|
185
190
|
- [Font-Awesome](https://github.com/FortAwesome/Font-Awesome) - The famous icon library
|
|
186
191
|
- [flag-icons](https://github.com/lipis/flag-icons) - A curated collection of all country flags in SVG + css integration
|
|
187
192
|
- [clipboard.js](https://github.com/zenorocha/clipboard.js) - Modern copy to clipboard. No Flash. Just 3kb gzipped clipboard.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{%- if include.image_url -%}
|
|
2
|
+
<img src="{{ include.image_url | relative_url }}" alt="{{ include.name }}" class="affiliation-img">
|
|
3
|
+
{%- elsif include.country_code -%}
|
|
4
|
+
<div class="ratio ratio-4x3">
|
|
5
|
+
<div class="rounded shadow-sm flag-icon flag-icon-{{ include.country_code | downcase }}">
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
{%- else -%}
|
|
9
|
+
<span>{{ include.name }}</span>
|
|
10
|
+
{%- endif -%}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{%-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{%- if
|
|
9
|
-
{%-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
{%- unless include.sort == false %}
|
|
2
|
+
{%- assign affiliations_list = include.affiliations_list | sort %}
|
|
3
|
+
{%- else %}
|
|
4
|
+
{%- assign affiliations_list = include.affiliations_list %}
|
|
5
|
+
{%- endunless %}
|
|
6
|
+
<div class="d-flex flex-wrap gap-2">
|
|
7
|
+
{%- for affiliation_name in affiliations_list -%}
|
|
8
|
+
{%- comment -%} Check if it's a country code (2 characters) {%- endcomment -%}
|
|
9
|
+
{%- if affiliation_name.size == 2 -%}
|
|
10
|
+
|
|
11
|
+
{%- assign country_code = affiliation_name | upcase %}
|
|
12
|
+
{%- assign country_link = site.pages | where:"country_code",country_code | first %}
|
|
13
|
+
{%- assign country_name = site.data.countries[country_code] %}
|
|
14
|
+
|
|
15
|
+
{%- if country_link %}
|
|
16
|
+
<a role="button" data-bs-toggle="tooltip" title="{{country_name}}" class="btn btn-sm d-flex align-items-center affiliation-link hover-primary" href="{{country_link.url | relative_url}}">
|
|
17
|
+
{%- else %}
|
|
18
|
+
<a role="button" data-bs-toggle="tooltip" title="{{country_name}}" class="btn btn-sm affiliation-link d-flex align-items-center disabled border-0" aria-disabled="true">
|
|
19
|
+
{%- endif %}
|
|
16
20
|
<div class="d-flex justify-content-center affiliation-flag">
|
|
17
|
-
|
|
18
|
-
<div class="rounded shadow-sm flag-icon flag-icon-{{affiliation | downcase}}">
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
+
{%- include affiliation-logo.html country_code=country_code name=country_code -%}
|
|
21
22
|
</div>
|
|
22
|
-
|
|
23
|
-
{%- else
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
</a>
|
|
24
|
+
{%- else -%}
|
|
25
|
+
{%- assign affiliation_info = site.data.affiliations | where:"name",affiliation_name | first %}
|
|
26
|
+
<a class="btn btn-sm affiliation-link d-flex align-items-center justify-content-center hover-primary" data-bs-toggle="tooltip" title="{{affiliation_info.name}}" href="{{affiliation_info.url}}">
|
|
26
27
|
<img src="{{affiliation_info.image_url | relative_url}}" alt="{{affiliation_info.name}}" class="affiliation-img">
|
|
27
|
-
|
|
28
|
-
{%- endif
|
|
29
|
-
|
|
28
|
+
</a>
|
|
29
|
+
{%- endif -%}
|
|
30
|
+
{%- endfor -%}
|
|
30
31
|
</div>
|
|
31
|
-
{%- endif %}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
|
|
2
|
+
<p class="mb-0">
|
|
3
|
+
{%- if include.contributors_list %}
|
|
4
|
+
{%- unless include.sort == false %}
|
|
5
|
+
{%- assign name_list = include.contributors_list | sort %}
|
|
6
|
+
{%- else %}
|
|
7
|
+
{%- assign name_list = include.contributors_list %}
|
|
8
|
+
{%- endunless %}
|
|
9
|
+
{{ name_list | join: ", " }},
|
|
10
|
+
{%- endif %}
|
|
11
|
+
"<em>{{ page.title | strip }}</em>".
|
|
12
|
+
{%- if site.url %}
|
|
13
|
+
{{ site.url | remove: "https://www." | remove: "http://www." | remove: "https://" | remove: "http://" }}.
|
|
14
|
+
{%- endif %}
|
|
15
|
+
{%- assign page_url = page.url | absolute_url %}
|
|
16
|
+
<a href="{{ page_url }}">{{ page_url }}</a> <span id="current_date"></span>.
|
|
13
17
|
</p>
|
|
14
18
|
<script>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</script>
|
|
18
|
-
{% endif %}
|
|
19
|
-
|
|
19
|
+
var current_date = new Date().toLocaleDateString('en-uk', { year:"numeric", month:"long", day:"numeric"})
|
|
20
|
+
document.getElementById("current_date").textContent = " (accessed " + current_date + ")";
|
|
21
|
+
</script>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{%- if include.image_url %}
|
|
2
|
+
<div class="contr-placeholder rounded-circle" style="background-image: url({{ include.image_url }});">
|
|
3
|
+
</div>
|
|
4
|
+
{%- elsif include.git %}
|
|
5
|
+
<img src="https://avatars.githubusercontent.com/{{ include.git }}" class="img-fluid rounded-circle" alt="{{ include.name }}">
|
|
6
|
+
{%- else -%}
|
|
7
|
+
<div class="contr-placeholder rounded-circle d-flex justify-content-center align-items-center{%- if include.small %} contributor-img-sm{% endif %}">
|
|
8
|
+
{%- assign name_parts = include.name | split: " " %}
|
|
9
|
+
{%- assign initials = "" %}
|
|
10
|
+
{%- for part in name_parts %}
|
|
11
|
+
{%- assign initial = part | slice: 0,1 | capitalize %}
|
|
12
|
+
{%- assign initials = initials | append: initial %}
|
|
13
|
+
{%- endfor -%}
|
|
14
|
+
<span class="fw-bold{%- unless include.small %} fs-2{% endunless %}">{{ initials }}</span>
|
|
15
|
+
</div>
|
|
16
|
+
{%- endif %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<div class="card h-100">
|
|
2
|
+
<div class="position-relative">
|
|
3
|
+
<div class="p-3">
|
|
4
|
+
<div class="ratio ratio-1x1">
|
|
5
|
+
{%- include contributor-avatar.html name=include.name image_url=include.image_url git=include.git %}
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
{%- if include.role %}
|
|
9
|
+
<span class="badge position-absolute top-0 end-0">{{ include.role | capitalize }}</span>
|
|
10
|
+
{%- endif -%}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="card-body text-center py-0">
|
|
13
|
+
<p class="card-title">{{ include.name }}</p>
|
|
14
|
+
{%- if include.affiliation %}
|
|
15
|
+
<p class="card-affiliation">{{ include.affiliation | join: " / " }}</p>
|
|
16
|
+
{%- endif -%}
|
|
17
|
+
</div>
|
|
18
|
+
{%- if include.git or include.email or include.orcid %}
|
|
19
|
+
<div class="card-footer">
|
|
20
|
+
<div class="d-flex justify-content-center gap-2">
|
|
21
|
+
{%- if include.git %}
|
|
22
|
+
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{ include.git }}"><i class="fa-brands fa-github"></i><span class="visually-hidden">GitHub</span></a>
|
|
23
|
+
{%- endif -%}
|
|
24
|
+
{%- if include.email %}
|
|
25
|
+
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{ include.email }}"><i class="fa-solid fa-envelope"></i><span class="visually-hidden">Email</span></a>
|
|
26
|
+
{%- endif -%}
|
|
27
|
+
{%- if include.orcid %}
|
|
28
|
+
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{ include.orcid }}"><i class="fa-brands fa-orcid"></i><span class="visually-hidden">Orcid</span></a>
|
|
29
|
+
{%- endif %}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
{%- endif %}
|
|
33
|
+
</div>
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
{%- assign
|
|
1
|
+
{%- assign carousel_counter = carousel_counter | plus: 1 %}
|
|
2
|
+
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
|
|
2
3
|
{%- assign allcontrstr = nil %}
|
|
3
|
-
{%- assign nr = include.col | default:
|
|
4
|
+
{%- assign nr = include.col | default: 4 %}
|
|
4
5
|
{%- if include.custom %}
|
|
5
6
|
{%- assign allcontrstr = include.custom %}
|
|
6
7
|
{%- elsif include.role %}
|
|
7
8
|
{%- assign rolefilter = include.role | downcase %}
|
|
8
|
-
{%- for contr in
|
|
9
|
+
{%- for contr in contributors_lookup %}
|
|
9
10
|
{%- assign contrrole = contr[1]['role'] | downcase %}
|
|
10
11
|
{%- if rolefilter == contrrole %}
|
|
11
12
|
{%- if allcontrstr %}
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
{%- endif %}
|
|
27
28
|
{%- endif %}
|
|
28
29
|
{%- endfor %}
|
|
29
|
-
{%- for contr in
|
|
30
|
+
{%- for contr in contributors_lookup %}
|
|
30
31
|
{%- if allcontrstr %}
|
|
31
32
|
{%- assign allcontrstr = allcontrstr | append: ", " | append: contr[0] %}
|
|
32
33
|
{%- else %}
|
|
@@ -39,70 +40,18 @@
|
|
|
39
40
|
{%- assign allcontributors = allcontributors | sort %}
|
|
40
41
|
{%- endunless %}
|
|
41
42
|
{%- unless allcontributors.size == 0 %}
|
|
42
|
-
<div
|
|
43
|
+
<div class="position-relative">
|
|
44
|
+
<div id="contributors-carousel-{{carousel_counter}}" class="carousel carousel-dark slide my-4" data-ride="carousel" data-bs-interval="7000">
|
|
43
45
|
<div class="carousel-inner">
|
|
44
46
|
{%- assign counter = 0 %}
|
|
45
|
-
{%- for
|
|
47
|
+
{%- for contributor_name in allcontributors %}
|
|
46
48
|
{%- if modulo == '0' or counter == 0 %}
|
|
47
49
|
<div class="carousel-item {% if counter == 0 %}active{% endif %}">
|
|
48
50
|
<div class="row row-cols-{{nr}} contributor-cards g-1 g-xl-4 ">
|
|
49
51
|
{%- endif %}
|
|
52
|
+
{%- assign data = contributors_lookup[contributor_name] %}
|
|
50
53
|
<div class="col">
|
|
51
|
-
|
|
52
|
-
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
53
|
-
<div class="position-relative">
|
|
54
|
-
{%- if contributors[contributor].image_url %}
|
|
55
|
-
<div class="p-3">
|
|
56
|
-
<div class="ratio ratio-1x1">
|
|
57
|
-
<div class="contr-placeholder rounded-circle" style="background-image: url({{ contributors[contributor].image_url }});">
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
{%- else %}
|
|
62
|
-
{%- if contributors[contributor].git %}
|
|
63
|
-
<img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle" alt="{{ contributor }}">
|
|
64
|
-
{%- else %}
|
|
65
|
-
<div class="p-3">
|
|
66
|
-
<div class="ratio ratio-1x1">
|
|
67
|
-
<div class="contr-placeholder rounded-circle d-flex justify-content-center align-items-center">
|
|
68
|
-
{%- assign contr_name = contributor | split: " " %}
|
|
69
|
-
{%- assign initials = "" %}
|
|
70
|
-
{%- for name in contr_name %}
|
|
71
|
-
{%- assign initial = name | slice: 0,1 | capitalize %}
|
|
72
|
-
{%- assign initials = initials | append: initial %}
|
|
73
|
-
{%- endfor %}
|
|
74
|
-
<span class="fs-2 fw-bold">{{ initials }}</span>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
{%- endif %}
|
|
79
|
-
{%- endif %}
|
|
80
|
-
{%- if contributors[contributor].role %}
|
|
81
|
-
<span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
|
|
82
|
-
{%- endif %}
|
|
83
|
-
</div>
|
|
84
|
-
<div class="card-body text-center py-0">
|
|
85
|
-
<p class="card-title">{{ contributor }}</p>
|
|
86
|
-
{%- if contributors[contributor].affiliation %}
|
|
87
|
-
<p class="card-affiliation">{{ contributors[contributor].affiliation | join: " / " }}</p>
|
|
88
|
-
{%- endif %}
|
|
89
|
-
</div>
|
|
90
|
-
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
|
91
|
-
<div class="card-footer">
|
|
92
|
-
<div class="d-flex justify-content-center gap-1 gap-md-2">
|
|
93
|
-
{%- if contributors[contributor].git %}
|
|
94
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a>
|
|
95
|
-
{%- endif %}
|
|
96
|
-
{%- if contributors[contributor].email %}
|
|
97
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a>
|
|
98
|
-
{%- endif %}
|
|
99
|
-
{%- if contributors[contributor].orcid %}
|
|
100
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a>
|
|
101
|
-
{%- endif %}
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
{%- endif %}
|
|
105
|
-
</div>
|
|
54
|
+
{%- include contributor-card.html name=contributor_name image_url=data.image_url git=data.git email=data.email orcid=data.orcid role=data.role affiliation=data.affiliation %}
|
|
106
55
|
</div>
|
|
107
56
|
{%- assign counter = counter | plus:1 %}
|
|
108
57
|
{%- capture modulo %}{{ counter | modulo:nr }}{% endcapture %}
|
|
@@ -111,14 +60,15 @@
|
|
|
111
60
|
</div>
|
|
112
61
|
{%- endif %}
|
|
113
62
|
{%- endfor %}
|
|
114
|
-
<button class="carousel-control-prev" type="button" data-bs-target="#contributors-carousel" data-bs-slide="prev">
|
|
115
|
-
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
116
|
-
<span class="visually-hidden">Previous</span>
|
|
117
|
-
</button>
|
|
118
|
-
<button class="carousel-control-next" type="button" data-bs-target="#contributors-carousel" data-bs-slide="next">
|
|
119
|
-
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
120
|
-
<span class="visually-hidden">Next</span>
|
|
121
|
-
</button>
|
|
122
63
|
</div>
|
|
64
|
+
<button class="carousel-control-prev" type="button" data-bs-target="#contributors-carousel-{{carousel_counter}}" data-bs-slide="prev" style="width: 2rem; margin-left: -1rem; bottom: auto; height: 3rem;">
|
|
65
|
+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
66
|
+
<span class="visually-hidden">Previous</span>
|
|
67
|
+
</button>
|
|
68
|
+
<button class="carousel-control-next" type="button" data-bs-target="#contributors-carousel-{{carousel_counter}}" data-bs-slide="next" style="width: 2rem; margin-right: -1rem; bottom: auto; height: 3rem;">
|
|
69
|
+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
70
|
+
<span class="visually-hidden">Next</span>
|
|
71
|
+
</button>
|
|
72
|
+
</div>
|
|
123
73
|
</div>
|
|
124
74
|
{%- endunless %}
|
|
@@ -1,112 +1,22 @@
|
|
|
1
|
-
{%-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{%-
|
|
10
|
-
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
1
|
+
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
|
|
2
|
+
{%- unless include.sort == false %}
|
|
3
|
+
{%- assign name_list = include.contributors_list | sort %}
|
|
4
|
+
{%- else %}
|
|
5
|
+
{%- assign name_list = include.contributors_list %}
|
|
6
|
+
{%- endunless %}
|
|
7
|
+
<div class="gap-1 rounded page-contributors d-flex flex-wrap">
|
|
8
|
+
{%- for contributor_name in name_list %}
|
|
9
|
+
{%- assign data = contributors_lookup[contributor_name] %}
|
|
11
10
|
<div class="dropup-center dropup d-inline-block">
|
|
12
|
-
<button class="btn btn-sm dropdown-toggle contributor-link d-flex gap-2 align-items-center hover-primary
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<div class="ratio ratio-1x1 contributor-img-sm">
|
|
16
|
-
<div class="contr-placeholder rounded-circle" style="background-image: url({{ contributors[contributor].image_url }});">
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
{%- else %}
|
|
20
|
-
{%- if contributors[contributor].git %}
|
|
21
|
-
<img class="img-fluid rounded-circle contributor-img-sm" src="https://avatars.githubusercontent.com/{{ id }}" alt="Avatar of the contributor {{ contributor }}">
|
|
22
|
-
{%- else %}
|
|
23
|
-
<div class="contr-placeholder rounded-circle d-flex justify-content-center align-items-center contributor-img-sm">
|
|
24
|
-
{%- assign contr_name = contributor | split: " " %}
|
|
25
|
-
{%- assign initials = "" %}
|
|
26
|
-
{%- for name in contr_name %}
|
|
27
|
-
{%- assign initial = name | slice: 0,1 | capitalize %}
|
|
28
|
-
{%- assign initials = initials | append: initial %}
|
|
29
|
-
{%- endfor %}
|
|
30
|
-
<span class="fw-bold">{{ initials }}</span>
|
|
31
|
-
</div>
|
|
32
|
-
{%- endif %}
|
|
33
|
-
{%- endif %}
|
|
34
|
-
</div>
|
|
35
|
-
<div>
|
|
36
|
-
{{ contributor }}
|
|
37
|
-
</div>
|
|
38
|
-
{%- if page.coordinators %}
|
|
39
|
-
{%- for coordinator in page.coordinators %}
|
|
40
|
-
{%- if coordinator == contributor %}
|
|
41
|
-
<div class="position-absolute top-0 start-100 translate-middle">
|
|
42
|
-
<div class="rounded-circle coordinator-crown">
|
|
43
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="Coordinator of the {{page.title}} page.">
|
|
44
|
-
<i class="fa-solid fa-crown"></i>
|
|
45
|
-
</a>
|
|
46
|
-
</div>
|
|
11
|
+
<button class="btn btn-sm dropdown-toggle contributor-link d-flex gap-2 align-items-center hover-primary rounded-pill" type="button" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside" data-bs-offset="0,10">
|
|
12
|
+
<div class="ratio ratio-1x1 contributor-img-sm">
|
|
13
|
+
{%- include contributor-avatar.html name=contributor_name image_url=data.image_url git=data.git small=true %}
|
|
47
14
|
</div>
|
|
48
|
-
{
|
|
49
|
-
{%- endfor %}
|
|
50
|
-
{%- endif %}
|
|
15
|
+
<div>{{ contributor_name }}</div>
|
|
51
16
|
</button>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{%- if contributors[contributor].image_url %}
|
|
58
|
-
<div class="p-3">
|
|
59
|
-
<div class="ratio ratio-1x1">
|
|
60
|
-
<div class="contr-placeholder rounded-circle" style="background-image: url({{ contributors[contributor].image_url }});">
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
{%- else %}
|
|
65
|
-
{%- if contributors[contributor].git %}
|
|
66
|
-
<img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle" alt="{{ contributor }}">
|
|
67
|
-
{%- else %}
|
|
68
|
-
<div class="p-3">
|
|
69
|
-
<div class="ratio ratio-1x1">
|
|
70
|
-
<div class="contr-placeholder rounded-circle d-flex justify-content-center align-items-center">
|
|
71
|
-
{%- assign contr_name = contributor | split: " " %}
|
|
72
|
-
{%- assign initials = "" %}
|
|
73
|
-
{%- for name in contr_name %}
|
|
74
|
-
{%- assign initial = name | slice: 0,1 | capitalize %}
|
|
75
|
-
{%- assign initials = initials | append: initial %}
|
|
76
|
-
{%- endfor %}
|
|
77
|
-
<span class="fs-2 fw-bold">{{ initials }}</span>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
{%- endif %}
|
|
82
|
-
{%- endif %}
|
|
83
|
-
{%- if contributors[contributor].role %}
|
|
84
|
-
<span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
|
|
85
|
-
{%- endif %}
|
|
86
|
-
</div>
|
|
87
|
-
<div class="card-body text-center py-0">
|
|
88
|
-
<p class="card-title">{{ stripped_name }}</p>
|
|
89
|
-
{%- if contributors[contributor].affiliation %}
|
|
90
|
-
<p class="card-affiliation">{{ contributors[contributor].affiliation | join: " / " }}</p>
|
|
91
|
-
{%- endif %}
|
|
92
|
-
</div>
|
|
93
|
-
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
|
94
|
-
<div class="card-footer">
|
|
95
|
-
<div class="d-flex justify-content-center gap-2">
|
|
96
|
-
{%- if contributors[contributor].git %}
|
|
97
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a>
|
|
98
|
-
{%- endif %}
|
|
99
|
-
{%- if contributors[contributor].email %}
|
|
100
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a>
|
|
101
|
-
{%- endif %}
|
|
102
|
-
{%- if contributors[contributor].orcid %}
|
|
103
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a>
|
|
104
|
-
{%- endif %}
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
{%- endif %}
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</div>{%- endfor %}
|
|
17
|
+
<div class="dropdown-menu shadow p-0 border-0 contributor-cards">
|
|
18
|
+
{%- include contributor-card.html name=contributor_name image_url=data.image_url git=data.git email=data.email orcid=data.orcid role=data.role affiliation=data.affiliation %}
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
{%- endfor %}
|
|
111
22
|
</div>
|
|
112
|
-
{%- endif %}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{%- assign
|
|
1
|
+
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
|
|
2
2
|
{%- assign allcontrstr = nil %}
|
|
3
|
-
{%- assign nr = include.col | default:
|
|
3
|
+
{%- assign nr = include.col | default: 4 %}
|
|
4
4
|
{%- if include.custom %}
|
|
5
5
|
{%- assign allcontrstr = include.custom %}
|
|
6
6
|
{%- elsif include.role %}
|
|
7
7
|
{%- assign rolefilter = include.role | downcase %}
|
|
8
|
-
{%- for contr in
|
|
8
|
+
{%- for contr in contributors_lookup %}
|
|
9
9
|
{%- assign contrrole = contr[1]['role'] | downcase %}
|
|
10
10
|
{%- if rolefilter == contrrole %}
|
|
11
11
|
{%- if allcontrstr %}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{%- endif %}
|
|
27
27
|
{%- endif %}
|
|
28
28
|
{%- endfor %}
|
|
29
|
-
{%- for contr in
|
|
29
|
+
{%- for contr in contributors_lookup %}
|
|
30
30
|
{%- if allcontrstr %}
|
|
31
31
|
{%- assign allcontrstr = allcontrstr | append: ", " | append: contr[0] %}
|
|
32
32
|
{%- else %}
|
|
@@ -39,64 +39,11 @@
|
|
|
39
39
|
{%- assign allcontributors = allcontributors | sort %}
|
|
40
40
|
{%- endunless %}
|
|
41
41
|
{%- unless allcontributors.size == 0 %}
|
|
42
|
-
<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-xl-{{nr}} g-4 contributor-cards mb-4">
|
|
43
|
-
{%- for
|
|
42
|
+
<div class="row row-cols-2 row-cols-sm-3{%- if nr < 4 %} row-cols-md-4{%- endif %} row-cols-xl-{{nr}} g-4 contributor-cards mb-4">
|
|
43
|
+
{%- for contributor_name in allcontributors %}
|
|
44
|
+
{%- assign data = contributors_lookup[contributor_name] %}
|
|
44
45
|
<div class="col">
|
|
45
|
-
|
|
46
|
-
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
47
|
-
<div class="position-relative">
|
|
48
|
-
{%- if contributors[contributor].image_url %}
|
|
49
|
-
<div class="p-3">
|
|
50
|
-
<div class="ratio ratio-1x1">
|
|
51
|
-
<div class="contr-placeholder rounded-circle" style="background-image: url({{ contributors[contributor].image_url }});">
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
{%- else %}
|
|
56
|
-
{%- if contributors[contributor].git %}
|
|
57
|
-
<img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle" alt="{{ contributor }}">
|
|
58
|
-
{%- else %}
|
|
59
|
-
<div class="p-3">
|
|
60
|
-
<div class="ratio ratio-1x1">
|
|
61
|
-
<div class="contr-placeholder rounded-circle d-flex justify-content-center align-items-center">
|
|
62
|
-
{%- assign contr_name = contributor | split: " " %}
|
|
63
|
-
{%- assign initials = "" %}
|
|
64
|
-
{%- for name in contr_name %}
|
|
65
|
-
{%- assign initial = name | slice: 0,1 | capitalize %}
|
|
66
|
-
{%- assign initials = initials | append: initial %}
|
|
67
|
-
{%- endfor %}
|
|
68
|
-
<span class="fs-2 fw-bold">{{ initials }}</span>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
{%- endif %}
|
|
73
|
-
{%- endif %}
|
|
74
|
-
{%- if contributors[contributor].role %}
|
|
75
|
-
<span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
|
|
76
|
-
{%- endif %}
|
|
77
|
-
</div>
|
|
78
|
-
<div class="card-body text-center py-0">
|
|
79
|
-
<p class="card-title">{{ contributor }}</p>
|
|
80
|
-
{%- if contributors[contributor].affiliation %}
|
|
81
|
-
<p class="card-affiliation">{{ contributors[contributor].affiliation | join: " / " }}</p>
|
|
82
|
-
{%- endif %}
|
|
83
|
-
</div>
|
|
84
|
-
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
|
85
|
-
<div class="card-footer">
|
|
86
|
-
<div class="d-flex justify-content-center gap-2">
|
|
87
|
-
{%- if contributors[contributor].git %}
|
|
88
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a>
|
|
89
|
-
{%- endif %}
|
|
90
|
-
{%- if contributors[contributor].email %}
|
|
91
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a>
|
|
92
|
-
{%- endif %}
|
|
93
|
-
{%- if contributors[contributor].orcid %}
|
|
94
|
-
<a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a>
|
|
95
|
-
{%- endif %}
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
{%- endif %}
|
|
99
|
-
</div>
|
|
46
|
+
{%- include contributor-card.html name=contributor_name image_url=data.image_url git=data.git email=data.email orcid=data.orcid role=data.role affiliation=data.affiliation %}
|
|
100
47
|
</div>
|
|
101
48
|
{%- endfor %}
|
|
102
49
|
</div>
|
data/_includes/events.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{%- if include.title == true%}
|
|
3
3
|
<h2>{{include.event_type | replace: "_", " " | capitalize}}s</h2>
|
|
4
4
|
{%- endif %}
|
|
5
|
-
{%- assign events = site.data.events %}
|
|
5
|
+
{%- assign events = site.data.events | sort: "startDate" | reverse %}
|
|
6
6
|
{%- assign count = 0 %}
|
|
7
7
|
<ul class="list-unstyled mt-3">
|
|
8
8
|
{%- for event in events %}
|