Skip to content
Snippets Groups Projects
person.html 4.52 KiB
Newer Older
  • Learn to ignore specific revisions
  • Michael Kohlhase's avatar
    new
    Michael Kohlhase committed
    ---
    layout: default
    ---
    
    
    {% assign username = page.url | replace: '/people/', '' | replace: '/', '' %}
    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    <div class="row">
    
        
        <div class="col s12 m5 right">
            <div class="card">
                <div class="card-image">
                    <img src="/{{page.pic}}" width="300"/>
                </div>
                <div class="card-content">
                    <span class="card-title">{{ page.fullname }}</span>
                    
                    <hr />
                    
                    {% assign role = site.roles | where: "id", page.role %}
                    {% assign role = role[0] %}
                    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                    {{role.name}} 
    
                    {% if page.start_date %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                        <br />
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                        KWARCie
    
                        {% unless page.end_date %}
                            since
                        {% endunless %}
                        
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                        {% include date.html date=page.start_date %}
    
                        
                        {% if page.end_date %}
                            &nbsp;-&nbsp;
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                            {% include date.html date=page.end_date %}
    
                        {% endif %}
                    {% endif %}
                    
                    {% if page.affiliation %}
                        <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}}/">
    
    		  <img style="width:70px;height:70px" src="/public/pubs.jpg" title="Publications"/>
    
                    {% elsif page.publink %}
    
                    <a href="{{page.publink}}">
    
    		  <img style="width:70px;height:70px" src="/public/pubs.jpg" title="Publications"/>
    
                    {% endif %}
    
                    {% if page.website %}
    
                    <a target="_blank" href="{{page.website}}">
    
    		  <img style="width:50px;height:50px" src="/public/www.jpg" title="Website"/>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                    {% endif %}
                    {% if page.orcid %}
    
                    <a target="_blank" href="http://orcid.org/{{page.orcid}}">
    
    		  <img style="width:50px;height:50px" src="/public/orcid.png" title="ORCID"/>
    
                    {% endif %}
                    {% if page.dblp %}
    
                    <a target="_blank" href="https://dblp.uni-trier.de/pers/hd/{{page.dblp}}">
    
    		  <img style="width:50px;height:50px" src="/public/dblp.png" title="DBLP"/>
    
                    {% endif %}
                    {% if page.zbmath %}
    
                    <a target="_blank"
    		   href="https://zbmath.org/authors/?q=ai:{{page.zbmath}}">
    
    		  <img style="width:50px;height:50px" src="/public/zbmath.png" title="zbMATH"/>
    
                    {% endif %}
    
                    {% if page.github %}
    
                    <a target="_blank" href="http://github.com/{{page.github}}">
    
    		  <img style="width:50px;height:50px" src="/public/github.png" title="GitHub"/>
    
                    {% endif %}
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                    {% if page.gitlab %}
    
                    <a target="_blank" href="http://gitlab.com/{{page.gitlab}}">
    
    		  <img style="width:50px;height:50px" src="/public/gitlab.png" title="GitLab"/>
    
                    {% endif %}
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                    {% if page.mathhub %}
    
                    <a target="_blank" href="http://gl.mathhub.info/{{page.mathhub}}">
    
    		  <img style="width:50px;height:50px" src="/public/mathHubLogo.png" title="MathHub"/>
    
                    {% endif %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        </div>
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        <div class="caption">
    
            {{content}}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        </div>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
    </div>