Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
AGrigis committed Oct 21, 2024
1 parent 30cd5d4 commit 8405fcb
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Site settings
title: GAIA laboratory
subtitle:
title: GAIA
subtitle: Brain Imaging and Data Science Lab
baseurl: #gaia
url: # https://baobablab.github.io/

Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>Menu</h2>
<ul>
{% for cell in cells_sorted %}
{% if cell.site %}
<li><a href="{{cell.site}} target="_blank"">{{cell.title}}</a></li>
<li><a href="{{cell.site}}" target="_blank"">{{cell.title}}</a></li>
{% else %}
<li><a href="{{site.url}}{{site.baseurl}}{{cell.url}}">{{cell.title}}</a></li>
{% endif %}
Expand Down
62 changes: 62 additions & 0 deletions _layouts/page_team.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
{% assign lab = key[0] %}
{% assign team = key[1] %}
{% assign research_sorted = site.research | where: "cat", lab | where: "subcat", team | sort: "added" | reverse %}
{% assign people_sorted = site.people | where: "cat", lab | where: "subcat", team | sort: 'joined' %}
{% assign people_array = "pi|engineer|postdoc|gradstudent|alumni" | split: "|" %}
{% assign people_valid = '' | split: '' %}
{% for item in people_array %}
{% assign listpeople = '' | split: '' %}
{% for profile in people_sorted %}
{% if profile.position contains item %}
{% assign listpeople = listpeople | push: profile %}
{% endif %}
{% endfor %}
{% assign people_valid = people_valid | push: listpeople %}
{% endfor %}

<html>

Expand All @@ -33,6 +45,56 @@

{{ content }}

<section>
<header class="major">
<h2>Members</h2>
</header>
<div>
{% assign i = 0 %}
{% for item in people_array %}
{% assign listpeople = people_valid[i] %}
{% assign i = i | plus: 1 %}
{% if listpeople.size > 0 %}
<div class="pos_header">
{% if item == 'postdoc' %}
<h3>Postdoctoral Fellows</h3>
{% elsif item == 'pi' %}
<h3>Principal Investigators</h3>
{% elsif item == 'gradstudent' %}
<h3>PhD Students</h3>
{% elsif item == 'engineer' %}
<h3>Research Engineers</h3>
{% elsif item == 'visiting' %}
<h3>Visiting Scholars</h3>
{% elsif item == 'alumni' %}
<h3>Alumni</h3>
{% endif %}
</div>
<div class="content list people">
{% for profile in listpeople %}
<div class="list-item-people {{profile.cat|replace: ' ', '-'}} {{profile.subcat|replace: ' ', '-'}}">
<p style="text-align: left; padding-left: 5em; margin: 0;">
&#x2022;
{% if profile.site %}
<a class="name" href="{{profile.site}}" target="_blank">
{% endif %}
{{profile.name}}
{% if profile.desc %}
- {{profile.desc}}
{% endif %}
{% if profile.site %}
</a>
{% endif %}
</p>
</div>
{% endfor %}
</div>
<br />
{% endif %}
{% endfor %}
</div>
</section>

<section>
<header class="major">
<h2>Gallery</h2>
Expand Down
2 changes: 1 addition & 1 deletion _sass/libs/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
fg-light: #9fa3a6,
border: rgba(210,215,217,0.75),
border-bg: transparentize(#e6ebed, 0.75),
accent: #3164d4
accent: #f56a6a
);
3 changes: 2 additions & 1 deletion members.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: /people/
---

{% assign people_sorted = site.people | sort: 'joined' %}
{% assign people_array = "pi|postdoc|gradstudent|engineer|alumni" | split: "|" %}
{% assign people_array = "pi|engineer|postdoc|gradstudent|alumni" | split: "|" %}


{% assign people_valid = '' | split: '' %}
Expand Down Expand Up @@ -63,3 +63,4 @@ permalink: /people/
<br />
{% endif %}
{% endfor %}
</div>

0 comments on commit 8405fcb

Please sign in to comment.