From dcee5d727db689c11c579d2ab698e9a6088e8bb5 Mon Sep 17 00:00:00 2001
From: Michael Kohlhase <m.kohlhase@jacobs-university.de>
Date: Fri, 25 Aug 2017 10:29:00 +0200
Subject: [PATCH] adding a hiring page

---
 _config.yml          |  4 +++-
 _layouts/jobad.html  | 27 +++++++++++++++++++++++++++
 hiring/drupal-dev.md |  8 ++++++++
 hiring/index.md      | 15 +++++++++++++++
 hiring/oaf-phd.md    |  8 ++++++++
 5 files changed, 61 insertions(+), 1 deletion(-)
 create mode 100644 _layouts/jobad.html
 create mode 100644 hiring/drupal-dev.md
 create mode 100644 hiring/index.md
 create mode 100644 hiring/oaf-phd.md

diff --git a/_config.yml b/_config.yml
index 90d21ef..842d8da 100644
--- a/_config.yml
+++ b/_config.yml
@@ -121,7 +121,9 @@ menu:
             url: '/courses/upcoming/'
           - title: 'Theses & Projects'
             url: '/courses/theses/'
-    
+    - title: 'Hiring'
+      folder: '/hiring/'
+      
     - title: 'Contact'
       url: '/contact/'
       
diff --git a/_layouts/jobad.html b/_layouts/jobad.html
new file mode 100644
index 0000000..db3b19b
--- /dev/null
+++ b/_layouts/jobad.html
@@ -0,0 +1,27 @@
+---
+layout: default
+---
+
+<div class="row">
+  <div class="col s12 m5 left">
+    <div class="card">
+      <div class="card-content">
+        <span class="card-title">{{page.title}}</span>
+        <hr />
+        {% if page.requirements%}
+          <b>requirements:  {{page.requirements}}</b><br/>
+        {% endif %}
+        
+        
+        {% if page.posted %}
+          <b>posted:  {{page.posted}}</b>
+          {% if page.status %} ({{page.status}}) {% endif %}
+	  <br/>
+        {% endif %}
+      </div>
+    </div>
+  </div>
+  <div class="caption">
+    {{content}}
+  </div>
+</div>
diff --git a/hiring/drupal-dev.md b/hiring/drupal-dev.md
new file mode 100644
index 0000000..3c1d790
--- /dev/null
+++ b/hiring/drupal-dev.md
@@ -0,0 +1,8 @@
+---
+layout: jobad
+title: Drupal Developer (student)
+posted: 2017-08-21
+status: open
+requirements: experience or interest in Drupal
+---
+We are looking for a Drupal developer (PHP, CSS) to help with front-end development of the [MathHub.info](http://mathhub.info) system. 
diff --git a/hiring/index.md b/hiring/index.md
new file mode 100644
index 0000000..fe2c4f5
--- /dev/null
+++ b/hiring/index.md
@@ -0,0 +1,15 @@
+---
+layout: page
+title: KWARC - Open Positions 
+---
+The KWARC group is constantly looking for good developers and Ph.D. students.
+
+{% assign jobads = site.pages | where: "layout", "jobad" | sort: "title" %}
+
+<ul class="collection">
+    {% for item in jobads %}
+        {% if item.status contains 'open' %}
+            {% include jobad.html %}
+        {% endif %}
+    {% endfor %}
+</ul>
diff --git a/hiring/oaf-phd.md b/hiring/oaf-phd.md
new file mode 100644
index 0000000..8736007
--- /dev/null
+++ b/hiring/oaf-phd.md
@@ -0,0 +1,8 @@
+---
+layout: jobad
+title: OAF Ph.D. Student (formalization)
+posted: 2017-06-21
+status: open
+requirements: M.Sc (or equivalent)
+---
+We are looking for a Ph.D. student in the [OAF Project](/projects/oaf/). 
-- 
GitLab