From 3d570d689a77759aee428be86c32d759cac53b4e Mon Sep 17 00:00:00 2001 From: Michael Kohlhase <michael.kohlhase@fau.de> Date: Sun, 16 Dec 2018 09:23:49 +0100 Subject: [PATCH] reorganizing --- _layouts/person.html | 46 +++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/_layouts/person.html b/_layouts/person.html index 5f0b461..8bbbedb 100644 --- a/_layouts/person.html +++ b/_layouts/person.html @@ -39,31 +39,8 @@ layout: default <hr /> {{ page.affiliation }} {% endif %} - - - <hr /> - <!-- Projects --> - {% assign projects = site.pages | where: "layout", "project" | where: "active", true %} - {% for project in projects %} - {% if project.people contains username %} - {% assign pid = project.url | replace: '/projects/', '' | replace: '/', '' %} - {% include project_chip.html project=pid %} - {% endif %} - {% endfor %} - - <hr /> - - <!-- Systems --> - {% assign systems = site.pages | where: "layout", "system" %} - {% for system in systems %} - {% unless system.end_date %} - {% if system.people contains username %} - {% assign sid = system.url | replace: '/systems/', '' | replace: '/', '' %} - {% include system_chip.html system=sid %} - {% endif %} - {% endunless %} - {% endfor %} </div> + <div class="card-action"> {% if page.publink == "auto" %} <a href="http://kwarc.github.io/bibs/{{username}}/"> @@ -116,6 +93,27 @@ layout: default <img style="width:50px;height:50px" src="/public/mathHubLogo.png" title="MathHub"/> </a> {% endif %} + <!-- Projects --> + {% assign projects = site.pages | where: "layout", "project" | where: "active", true %} + {% if projects %}<hr />{% endif %} + {% for project in projects %} + {% if project.people contains username %} + {% assign pid = project.url | replace: '/projects/', '' | replace: '/', '' %} + {% include project_chip.html project=pid %} + {% endif %} + {% endfor %} + + <!-- Systems --> + {% assign systems = site.pages | where: "layout", "system" %} + {% if systems %}<hr />{% endif %} + {% for system in systems %} + {% unless system.end_date %} + {% if system.people contains username %} + {% assign sid = system.url | replace: '/systems/', '' | replace: '/', '' %} + {% include system_chip.html system=sid %} + {% endif %} + {% endunless %} + {% endfor %} </div> </div> -- GitLab