diff --git a/_layouts/person.html b/_layouts/person.html index 5f0b46124d7a3efe3571d519bae3488a7ede90e4..8bbbedb0c7453ede0414321bbab10a52fb7eb748 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>