Skip to content
Snippets Groups Projects
system.html 2.24 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">
                <div class="card-content">
                    <span class="card-title">{{page.title}}</span>
                    {% if page.subtitle %}<h6>{{page.subtitle}}</h6>{% endif %}
                    
                    {% if page.start_date %}
                        <p>
                            <b>From:</b>
                            {% assign date = page.start_date %}
                            {% include date.html %}
                            
                            {% if page.end_date %}
                            <br />
                            <b>To:</b>
                            {% assign date = page.end_date %}
                            {% include date.html %}
                            {% 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 %}
                      {% include people_chip.html %} <br />
                    {% endfor %}
                </div>
                {% assign hasaction = false %}
    
                {% if page.website %}{% assign hasaction = true %}{% endif %}
                {% if page.repository %}{% 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
                        <a href="https://kwarc.info/{{ page.account }}/publications.html">Publications</a>
    
                    </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>