Skip to content

Commit

Permalink
convert members page to page format
Browse files Browse the repository at this point in the history
  • Loading branch information
treangen authored Sep 2, 2024
1 parent d57eeec commit e9528dc
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 22 deletions.
11 changes: 11 additions & 0 deletions _includes/_profiles/bkille.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: Bryce Kille
description: 4th Year Ph.D. student
img: assets/img/bryce.jpg
importance: 1
category: work
related_publications: true
---

Bryce (4th year PhD student) received his MS in Bioinformatics and BS in Computer Science + Chemistry from the University of Illinois at Urbana-Champaign. As an undergraduate, he worked at Dow Agrosciences in both the computational biology and cheminformatics groups. His projects included developing software for phylogeny analysis and creating models for compound activity prediction. During his Master’s program, Bryce worked in a biochemistry lab developing software for genome mining as well as a on research project for creating bit-wise algorithms for the C++ STL. One of his main interests is casting biological and chemical problems into theoretical computer science questions.
82 changes: 60 additions & 22 deletions _pages/profiles.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,66 @@
---
layout: profiles
layout: page
permalink: /people/
title: people
description: members of the lab or group
description: Treangen lab members
nav: true
nav_order: 1

profiles:
# if you want to include more than one profile, just replicate the following block
# and create one content file for each profile inside _pages/
- align: right
image: prof_pic.jpg
content: about_einstein.md
image_circular: false # crops the image to make it circular
more_info: >
<p>555 your office number</p>
<p>123 your address street</p>
<p>Your City, State 12345</p>
- align: left
image: prof_pic.jpg
content: about_einstein.md
image_circular: false # crops the image to make it circular
more_info: >
<p>555 your office number</p>
<p>123 your address street</p>
<p>Your City, State 12345</p>
display_categories: [work, fun]
horizontal: true
---

<!-- pages/profiles.md -->
<div class="pofiles">
{% if site.enable_project_categories and page.display_categories %}
<!-- Display categorized profiles -->
{% for category in page.display_categories %}
<a id="{{ category }}" href=".#{{ category }}">
<h2 class="category">{{ category }}</h2>
</a>
{% assign categorized_projects = site.profiles | where: "category", category %}
{% assign sorted_projects = categorized_projects | sort: "importance" %}
<!-- Generate cards for each project -->
{% if page.horizontal %}
<div class="container">
<div class="row row-cols-1 row-cols-md-2">
{% for project in sorted_projects %}
{% include projects_horizontal.liquid %}
{% endfor %}
</div>
</div>
{% else %}
<div class="row row-cols-1 row-cols-md-3">
{% for project in sorted_projects %}
{% include projects.liquid %}
{% endfor %}
</div>
{% endif %}
{% endfor %}

{% else %}

<!-- Display profiles without categories -->

{% assign sorted_projects = site.profiles | sort: "importance" %}

<!-- Generate cards for each project -->

{% if page.horizontal %}

<div class="container">
<div class="row row-cols-1 row-cols-md-2">
{% for project in sorted_projects %}
{% include projects_horizontal.liquid %}
{% endfor %}
</div>
</div>
{% else %}
<div class="row row-cols-1 row-cols-md-3">
{% for project in sorted_projects %}
{% include projects.liquid %}
{% endfor %}
</div>
{% endif %}
{% endif %}
</div>

Binary file added assets/img/bkille.jpg
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 e9528dc

Please sign in to comment.