From a7c4b6cd02ebc77a2060a8d8906b30c6a9f5cf81 Mon Sep 17 00:00:00 2001
From: Tom Wiesing <tkw01536@gmail.com>
Date: Tue, 9 May 2017 07:33:36 +0200
Subject: [PATCH] Link courses to instructor

---
 _layouts/course.html | 3 ++-
 teaching/AIProj.md   | 2 +-
 teaching/KRMT.md     | 2 +-
 teaching/ai1.md      | 2 +-
 teaching/ai2.md      | 2 +-
 teaching/wuv.md      | 2 +-
 6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/_layouts/course.html b/_layouts/course.html
index 53c70c7..c20275a 100644
--- a/_layouts/course.html
+++ b/_layouts/course.html
@@ -7,7 +7,8 @@ layout: default
     <div class="card">
       <div class="card-content">
         <span class="card-title">{{page.title}} ({{page.taught}})</span>
-        <p>{{page.instructor}}</p>
+        {% assign person = page.instructor %}
+        Instructor: {% include people_chip.html person=person %}
       </div>
     </div>
   </div>
diff --git a/teaching/AIProj.md b/teaching/AIProj.md
index d5c858a..ddaf9fd 100644
--- a/teaching/AIProj.md
+++ b/teaching/AIProj.md
@@ -1,6 +1,6 @@
 ---
 layout: course
-instructor: Prof. Dr. Michael Kohlhase
+instructor: mkohlhase
 title: Projekt zur Künstlichen Intelligenz
 menu_title: KI-Projekt
 taught: WS16/17, SS16
diff --git a/teaching/KRMT.md b/teaching/KRMT.md
index 7c617c7..e4502ee 100644
--- a/teaching/KRMT.md
+++ b/teaching/KRMT.md
@@ -1,6 +1,6 @@
 ---
 layout: course
-instructor: Prof. Dr. Michael Kohlhase
+instructor: mkohlhase
 title: Vorlesung *Logik-Basierte Wissensrepräsentation für Mathematisch/Technisches Wissen*
 menu_title: Vorlesung KRMT
 taught: SS16/17
diff --git a/teaching/ai1.md b/teaching/ai1.md
index 99a6978..df57c14 100644
--- a/teaching/ai1.md
+++ b/teaching/ai1.md
@@ -1,6 +1,6 @@
 ---
 layout: course
-instructor: Prof. Dr. Michael Kohlhase
+instructor: mkohlhase
 title: Künstliche Intelligenz I
 menu_title: Künstliche Intelligenz I
 taught: WS16
diff --git a/teaching/ai2.md b/teaching/ai2.md
index fbc61ab..174c4e9 100644
--- a/teaching/ai2.md
+++ b/teaching/ai2.md
@@ -1,6 +1,6 @@
 ---
 layout: course
-instructor: Prof. Dr. Michael Kohlhase
+instructor: mkohlhase
 title: Künstliche Intelligenz II
 menu_title: Künstliche Intelligenz II
 taught: SS16/17
diff --git a/teaching/wuv.md b/teaching/wuv.md
index dc29677..4d3dce0 100644
--- a/teaching/wuv.md
+++ b/teaching/wuv.md
@@ -1,6 +1,6 @@
 ---
 layout: course
-instructor: Prof. Dr. Michael Kohlhase
+instructor: mkohlhase
 title: Seminar Wissensrepräsentation und -verarbeitung
 menu_title: Seminar WuV
 ---
-- 
GitLab