From d83c3415bf73cb93c3d08bbe82fdc0c706d06ce1 Mon Sep 17 00:00:00 2001
From: Tom Wiesing <tkw01536@gmail.com>
Date: Sun, 15 Oct 2017 15:30:29 +0200
Subject: [PATCH] Hide publinks when not available

---
 _layouts/person.html | 6 +++++-
 courses/wuv.md       | 4 ++--
 people/akohlhase.md  | 2 ++
 people/cdavid.md     | 2 ++
 people/cjucovschi.md | 2 ++
 people/clange.md     | 2 ++
 people/cmueller.md   | 2 ++
 people/cprodescu.md  | 2 ++
 people/dginev.md     | 2 ++
 people/dmueller.md   | 2 ++
 people/fhorozal.md   | 2 ++
 people/frabe.md      | 2 ++
 people/miancu.md     | 2 ++
 people/mkohlhase.md  | 1 +
 people/nmueller.md   | 2 ++
 people/twiesing.md   | 2 ++
 people/vzholudev.md  | 2 ++
 17 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/_layouts/person.html b/_layouts/person.html
index 1e8be65..84290a5 100644
--- a/_layouts/person.html
+++ b/_layouts/person.html
@@ -45,7 +45,11 @@ layout: default
                 &nbsp;
                 {% endif %}
                 
-                <a href="http://kwarc.github.io/bibs/{{ page.url | replace: '/people/', '' | replace: '/', '' }}/">Publications</a>
+                {% if page.publink == "auto" %}
+                  <a href="http://kwarc.github.io/bibs/{{ page.url | replace: '/people/', '' | replace: '/', '' }}/">Publications</a>
+                {% elsif page.publink %}
+                  <a href="{{page.publink}}">Publications</a>
+                {% endif %}
             </div>
         </div>
         
diff --git a/courses/wuv.md b/courses/wuv.md
index df7245a..a3574a9 100644
--- a/courses/wuv.md
+++ b/courses/wuv.md
@@ -8,9 +8,9 @@ instructors:
 semesters:
     - SS17
     - WS17/18
-	- SS18
+    - SS18
     - WS18/19
-	- SS19
+    - SS19
 ---
 Dieses Seminar behandelt ausgewählte Themen aus dem Gebiet der Wissensrepräsentation und
 -Verarbeitung, mit einem Fokus auf mathematisches Wissen.
diff --git a/people/akohlhase.md b/people/akohlhase.md
index 90959d9..2f875c7 100644
--- a/people/akohlhase.md
+++ b/people/akohlhase.md
@@ -9,6 +9,8 @@ role: postdoc
 start_date: 2005-12
 end_date: 2014-08
 
+publink: auto
+
 affiliation: Hochschule Neu-Ulm
 website: https://www.hs-neu-ulm.de/andrea-kohlhase/
 ---
diff --git a/people/cdavid.md b/people/cdavid.md
index bb6fda8..5c255e0 100644
--- a/people/cdavid.md
+++ b/people/cdavid.md
@@ -8,6 +8,8 @@ pic: public/images/cdavid.jpeg
 role: master-student
 start_date: 2008-09
 end_date: 2012-02
+
+publink: auto
 ---
 
 ### Description
diff --git a/people/cjucovschi.md b/people/cjucovschi.md
index 731723d..3e1b6f6 100644
--- a/people/cjucovschi.md
+++ b/people/cjucovschi.md
@@ -8,6 +8,8 @@ pic: public/images/cjucovschi.jpeg
 role: phd-student
 start_date: 2007-10
 
+publink: auto
+
 affiliation: Computer Science, FAU Erlangen-Nürnberg
 ---
 
diff --git a/people/clange.md b/people/clange.md
index 8b194db..4c5e008 100644
--- a/people/clange.md
+++ b/people/clange.md
@@ -9,6 +9,8 @@ role: phd-student
 start_date: 2008-07
 end_date: 2012-08
 
+publink: auto
+
 website: https://langec.wordpress.com/about/
 affiliation: Enterprise Information Systems, Fraunhofer IAIS Bonn
 ---
diff --git a/people/cmueller.md b/people/cmueller.md
index cdc1449..c5338a5 100644
--- a/people/cmueller.md
+++ b/people/cmueller.md
@@ -10,6 +10,8 @@ start_date: 2006-09
 end_date: 2010-05
 
 affiliation: ti&m Frankfurt
+
+publink: auto
 ---
 
 ### Description
diff --git a/people/cprodescu.md b/people/cprodescu.md
index 4f48c66..e330b6f 100644
--- a/people/cprodescu.md
+++ b/people/cprodescu.md
@@ -9,6 +9,8 @@ pic: public/images/cprodescu.png
 start_date: 2008-09
 end_date: 2014-08
 
+publink: auto
+
 affiliation: Twitter
 ---
 
diff --git a/people/dginev.md b/people/dginev.md
index 41adf3e..c72a3d8 100644
--- a/people/dginev.md
+++ b/people/dginev.md
@@ -8,6 +8,8 @@ pic: public/images/dginev.jpeg
 role: phd-student
 start_date: 2007-02
 
+publink: auto
+
 website: http://prodg.org
 affiliation: Computer Science, FAU Erlangen-Nürnberg
 ---
diff --git a/people/dmueller.md b/people/dmueller.md
index d6af816..68e66c6 100644
--- a/people/dmueller.md
+++ b/people/dmueller.md
@@ -8,6 +8,8 @@ pic: public/images/dmueller.jpg
 role: phd-student
 start_date: 2015-04
 
+publink: auto
+
 affiliation: Computer Science, FAU Erlangen-Nürnberg
 website: http://blog.logicalphalluses.net/
 ---
diff --git a/people/fhorozal.md b/people/fhorozal.md
index 19c6dc1..1ab167a 100644
--- a/people/fhorozal.md
+++ b/people/fhorozal.md
@@ -8,6 +8,8 @@ pic: public/images/fhorozal.jpg
 role: phd-student
 start_date: 2010-05
 end_date: 2014-12
+
+publink: auto
 ---
 
 ### Thesis Title
diff --git a/people/frabe.md b/people/frabe.md
index eb4629f..87c7cbe 100644
--- a/people/frabe.md
+++ b/people/frabe.md
@@ -8,5 +8,7 @@ pic: public/images/frabe.jpg
 role: postdoc
 start_date: 2005-09
 
+publink: auto
+
 affiliation: Jacobs University Bremen
 ---
\ No newline at end of file
diff --git a/people/miancu.md b/people/miancu.md
index 09a5b4c..5cd7bf6 100644
--- a/people/miancu.md
+++ b/people/miancu.md
@@ -5,6 +5,8 @@ title: Mihnea Iancu
 fullname: Dr. Mihnea Iancu
 pic: public/images/miancu.png
 
+public: auto
+
 role: phd-student
 start_date: 2012-04
 end_date: 2017-01
diff --git a/people/mkohlhase.md b/people/mkohlhase.md
index eb8c8da..3dedbd5 100644
--- a/people/mkohlhase.md
+++ b/people/mkohlhase.md
@@ -9,6 +9,7 @@ pic: public/images/mkohlhase.jpg
 
 start_date: 2003-09
 orcid: 0000-0002-9859-6337
+publink: auto
 affiliation: "Computer Science, FAU Erlangen-Nürnberg, Jacobs University Bremen, Carnegie Mellon University"
 ---
 
diff --git a/people/nmueller.md b/people/nmueller.md
index a10940a..e876cc1 100644
--- a/people/nmueller.md
+++ b/people/nmueller.md
@@ -10,6 +10,8 @@ start_date: 2005-09
 end_date: 2010-07
 
 affiliation: BearingPoint Software Solutions GmbH
+
+publink: auto
 ---
 
 ### Description
diff --git a/people/twiesing.md b/people/twiesing.md
index 9cb2b90..995a99a 100644
--- a/people/twiesing.md
+++ b/people/twiesing.md
@@ -8,6 +8,8 @@ pic: public/images/twiesing.jpg
 role: phd-student
 start_date: 2013-02
 
+publink: auto
+
 website: https://tkw01536.de
 affiliation: Data Engineering, Jacobs University
 ---
diff --git a/people/vzholudev.md b/people/vzholudev.md
index ce78c82..b25c53d 100644
--- a/people/vzholudev.md
+++ b/people/vzholudev.md
@@ -9,6 +9,8 @@ role: phd-student
 start_date: 2007-09
 end_date: 2012-07
 
+publink: auto
+
 affiliation: ResearchGate
 ---
 
-- 
GitLab