Skip to content

Commit

Permalink
Add linked institutions.
Browse files Browse the repository at this point in the history
  • Loading branch information
AGrigis committed Nov 27, 2024
1 parent 9a3ba6c commit 72e8fab
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 3 deletions.
8 changes: 8 additions & 0 deletions _collections/_collaborators/cea.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: CEA
subcat: supervision
avatar: cea.png
ext_url: https://www.cea.fr
---


8 changes: 8 additions & 0 deletions _collections/_collaborators/cnrs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: CNRS
subcat: supervision
avatar: cnrs.png
ext_url: https://www.cnrs.fr
---


8 changes: 8 additions & 0 deletions _collections/_collaborators/upsaclay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Université Paris-Saclay
subcat: supervision
avatar: upsaclay.png
ext_url: https://www.universite-paris-saclay.fr/
---


2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ collections:

collaborators:
output : true
permalink : /colleborators/:title/index.html
permalink : /collaborators/:title/index.html

people:
output : true
Expand Down
17 changes: 17 additions & 0 deletions _layouts/page_lab.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{% assign teams_sorted = site.labs | where: "cat", lab | where: "subcat", "team" | sort: "title" %}
{% assign cells_sorted = site.labs | where: "cat", lab | where: "subcat", "cell" | sort: "title" %}
{% assign research_sorted = site.research | sort: 'added' | reverse %}
{% assign collaborators_sorted = (site.collaborators | sort: 'subcat' %}

<html>

Expand Down Expand Up @@ -35,6 +36,22 @@ <h1>{{ page.title }}</h1>
{% endif %}

{{ content }}

<!-- Supervisions -->
<section id="supervision">
<header class="major">
<h2>Supervisions</h2>
</header>
<div class="content list people">
{% for collab in collaborators_sorted %}
<div class="list-item-collab">
<p class="list-post-title">
<a href="{{collab.ext_url}}" target="_blank"><img height="90" src="{{site.url}}/{{site.baseurl}}/images/collaborators/{{collab.avatar}}"></a>
</p>
</div>
{% endfor %}
</div>
</section>

<!-- Teams -->
<section id="teams">
Expand Down
7 changes: 5 additions & 2 deletions _sass/main_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
padding-right: 4em;
}

.list-item-collab {
display: inline-block;
padding-right: 4em;
}

.list-post-title img {
margin-bottom: 0.75em;
margin-top: 1.25em;
Expand Down Expand Up @@ -117,5 +122,3 @@
list-style: none;
margin-bottom: 0.5em;
}


Binary file added images/collaborators/cea.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/collaborators/cnrs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/collaborators/upsaclay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72e8fab

Please sign in to comment.