/
jobs.html
36 lines (34 loc) · 1.55 KB
/
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
---
title: Job opportunities
layout: static_page_no_right_menu
nav_id: Job opportunities
permalink: /job-opportunities/
nav_weight: 20
nav_nesting: true
nav_parent: News
---
<h1 class="mb-4">Job opportunities at Department of Mathematics</h1>
<div class="row my-col-12-zebra">
{% for post in site.posts %}
{% if post.categories contains "jobs" %}
<div class="col-12 my-bordered-news-snippets">
<h2 class="mb-2 mt-3"><a href="{{site.url }}{{ post.url }}" style="color:inherit;">{{ post.title }}</a></h2>
{% if post.event-date != null and post.multi-day-event %}
<h6>Event start date: {{ post.event-date | date: "%A, %B %-d, %Y" }}</h6>{% endif %}
{% if post.event-date != null and post.multi-day-event != true %}
<h6>Event date: {{ post.event-date | date: "%A, %B %-d, %Y" }}</h6>{% endif %}
{% if post.image != null %} {% if post.image-address != null %}
<a href="{{ post.image-address | replace: '__SITE_URL__', site.url }}">
{% else %}
<a href="{{site.url }}{{ post.url }}">
{% endif %}
<img src="{{ post.image | replace: '__SITE_URL__', site.url }}" alt="{{ post.image-alt }}" title="{{ post.image-alt }}" style="{% if post.image-wide != true %}max-width:70%;{% else %}max-width:100%;{% endif %}max-height:300px;height:auto;width:auto;" class="mb-3 mt-2">
</a>
{% endif %}
{{ post.excerpt | markdownify }}
<p><a class="btn btn-secondary h5" href="{{site.url }}{{ post.url }}" style="white-space: normal" role="button">{% if post.more-text == null %}View details{% else %}{{ post.more-text }}{% endif %} »</a></p>
</div>
<!--/span-->
{% endif %}
{% endfor %}
</div>