Skip to content
Snippets Groups Projects
system.html 3.13 KiB
Newer Older
  • Learn to ignore specific revisions
  • Michael Kohlhase's avatar
    Michael Kohlhase committed
    ---
    layout: default
    ---
    
    
    <div class="row">
    
        <div class="col s12 m5 right">
    
            <div class="card">
    
                {% if page.logo %}
                    <div class="card-image">
                        <img src="/{{page.logo}}" width="300"/>
                    </div>
                {% endif %}
    
                <div class="card-content">
                    <span class="card-title">{{page.title}}</span>
                    {% if page.subtitle %}<h6>{{page.subtitle}}</h6>{% endif %}
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                    {% if page.teaser %}<h6>{{page.teaser}}</h6>{% endif %}
    
                    {% if page.start_date %}
                        <p>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                            <b>Start:</b>
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                            {% include date.html date=page.start_date %}
    
                            
                            {% if page.end_date %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                                <br />
                                <b>End:</b>
                                {% include date.html date=page.end_date %}
    
                            {% endif %}
                        </p>
                        <hr />
                    {% endif %}
    
    
                    {% if page.orphan %}
                      <p>
                        <a href="{{ site.baseurl }}/systems/orphans">
                            <div class="chip">
                                Up for adoption
                            </div>
                        </a>
                      </p>
                      <hr />
                    {% endif %}
    
                    
                    {% for person in page.people %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                      {% include people_chip.html person=person %}
    
                    {% endfor %}
    
    
                    {% if page.supported-by %}
                      <hr />
                        <b>Funded by: </b>
    
                        {% for project in page.supported-by %}
                            {% include project_chip.html project=project %}
                        {% endfor %}
                    {% endif %}
    
                </div>
                {% assign hasaction = false %}
    
                {% if page.website %}{% assign hasaction = true %}{% endif %}
                {% if page.repository %}{% assign hasaction = true %}{% endif %}
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                {% if page.publink %}{% assign hasaction = true %}{% endif %}
    
                {% if page.supported-by %}{% assign hasaction = true %}{% endif %}
    
                {% if hasaction %}
                    <div class="card-action">
                        {% if page.website %}
                            <a target="_blank" href="{{ page.website }}">Website</a>
                            &nbsp;
                        {% endif %}
                        {% if page.repository %}
                            <a target="_blank" href="{{ page.repository }}">Repository</a>
                            &nbsp;
    
                        {% endif %}
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
                        {% if page.publink == "auto" %}
                          <a href="http://kwarc.github.io/bibs/{{ page.url | replace: '/projects/', '' | replace: '/', '' }}/">Publications</a>
                        {% elsif page.publink %}
                          <a href="{{page.publink}}">Publications</a>
                        {% endif %}
    
                    </div>
                {% endif %}
            </div>
    
        </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>