forked from workflowscommunity/workflowscommunity.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_jobs.html
47 lines (44 loc) · 1.72 KB
/
page_jobs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: page
title: Jobs
permalink: /jobs
---
{% capture nowunix %}{{'now' | date: '%Y-%m-%d' | date: '%s'}}{% endcapture %}
{% assign jobs = site.jobs | sort: "application_deadline" %}
{% assign num_jobs = 0 %}
{% for job in jobs %}
{% capture eventtime %}{{job.application_deadline | date: '%s'}}{% endcapture %}
{% if eventtime >= nowunix %}
{% assign num_jobs = num_jobs | plus: 1 %}
{% endif %}
{% endfor %}
<div class="row justify-content-center mb-4 pb-5">
<div class="col-md-8 text-center heading-section ftco-animate">
<p>
Open positions from the community.<br />There are currently <strong>{{ num_jobs }} open positions</strong>.
</p>
<a href="/jobs/add" class="btn btn-primary mt-3 py-3 px-5">Add an Open Job Position</a>
</div>
</div>
<div class="row">
{% for job in jobs %}
{% capture eventtime %}{{job.application_deadline | date: '%s'}}{% endcapture %}
{% if eventtime >= nowunix %}
<div class="col-md-4 ftco-animate">
<div class="blog-entry" style="min-height: 23em;">
<div class="text p-4 d-block">
<img src="{{ job.organization_logo }}" style="max-height: 2em; max-width: 8em;"
alt="{{ job.title }}" /><br />
<div class="meta mb-3">
{{ job.organization }}
</div>
<h3 class="heading"><a href="{{job.url}}">{{job.title}}</a></h3>
<p style="font-size: 0.9em; color: #e83e8c">{{job.location}}</p>
<span class="position" style="font-size: 0.9em;"><i class="fas fa-briefcase"></i> {{
job.employment_type }}</span>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>