-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
39 lines (32 loc) · 1.11 KB
/
index.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
---
layout: default
title: Featured Positions and Organizations
---
{% assign featured_positions = site.positions | where: "featured", "true" %}
{% unless featured_positions.size == 0 %}
<h2>
Featured Positions
<a href="/feature/new?utm_source=tcio_jobs_root_positions" class="btn btn-xs btn-default">Learn more</a>
</h2>
{% for position in featured_positions %}
{% include position.html position=position %}
{% endfor %}
<p>
<a href="/positions/">See all {{ site.positions.size }} positions →</a>
</p>
{% endunless %}
<h2>
Featured Organizations
<a href="/feature/new?utm_source=tcio_jobs_root_organizations" class="btn btn-xs btn-default">Learn more</a>
</h2>
{% assign featured_organizations = site.organizations | where: "featured", "true" %}
{% if featured_organizations.size == 0 %}
<p>There are currently no featured organizations.</p>
{% else %}
{% for organization in featured_organizations %}
{% include organization.html organization=organization %}
{% endfor %}
{% endif %}
<p>
<a href="/organizations/">See all {{ site.organizations.size }} organizations →</a>
</p>