Skip to content
Snippets Groups Projects
person.html 1.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • Michael Kohlhase's avatar
    new
    Michael Kohlhase committed
    ---
    layout: default
    ---
    
    
    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] %}
                    
                    {{role.name}}
                    {% if page.start_date %}
                        <br />
                        {% unless page.end_date %}
                            since
                        {% endunless %}
                        
                        {% assign date = page.start_date %}
                        {% include date.html %}
                        
                        {% if page.end_date %}
                            &nbsp;-&nbsp;
                            {% assign date = page.end_date %}
                            {% include date.html %}
                        {% endif %}
                    {% endif %}
                    
                    {% if page.affiliation %}
                        <hr />
                        {{ page.affiliation }}
                    {% endif %}
                </div>
                <div class="card-action">
                    {% if page.website %}
                    <a target="_blank" href="{{page.website}}">Website</a>
                    &nbsp;
                    {% endif %}
                    
    
                    {% 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 %}
    
    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>