Skip to content

Commit

Permalink
Reorder positions to always show open first
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Jul 12, 2023
1 parent c664fde commit f086bcc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _jobs/20123904.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: page
title: "Research Software Engineer (Position Filled)"
title: "Research Software Engineer"
location: London, UK
position: filled
---

## Description
Expand Down
3 changes: 2 additions & 1 deletion _jobs/20172416.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
layout: page
title: "Research Scientist, Outreach (Position Filled)"
title: "Research Scientist, Outreach"
location: London, UK
position: filled
---

## Description
Expand Down
19 changes: 18 additions & 1 deletion _pages/03-join-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ permalink: /join-us/
title: "Join Us"
---

{% for job in site.jobs %}
{% assign open_positions = site.jobs | where: 'position', 'open' %}
{% for job in open_positions %}
<div class="job-item">
<a href="{{ site.baseurl }}{{ job.id }}">
<span>
Expand All @@ -17,4 +18,20 @@ title: "Join Us"
</span>
</a>
</div>
{% endfor %}

{% assign filled_positions = site.jobs | where: 'position', 'filled' %}
{% for job in filled_positions %}
<div class="job-item">
<a href="{{ site.baseurl }}{{ job.id }}">
<span>
<h2>{{ job.title }} (Position Filled)</h2>
<div>
<ul>
<li>{{ job.location }}</li>
</ul>
</div>
</span>
</a>
</div>
{% endfor %}

0 comments on commit f086bcc

Please sign in to comment.