Select Git revision
project.html
Forked from
KWARC / kwarc.info / www
1017 commits behind the upstream repository.
-
Tom Wiesing authoredTom Wiesing authored
project.html 3.30 KiB
---
layout: default
---
<div class="row">
<div class="col s12 m5 left">
<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 %}
<!-- Funding etc -->
{% assign needs_break = false %}
{% if page.funding %}
<b>Funding: </b> {{page.funding}}
<br />
{% assign needs_break = true %}
{% endif %}
{% if page.program %}
<b>Program: </b> {{page.program}}
<br />
{% assign needs_break = true %}
{% endif %}
{% if page.grantid %}
<b>Grant ID: </b> {{page.grantid}}
<br />
{% assign needs_break = true %}
{% endif %}
{% if needs_break %}
<hr />
{% endif %}
<!-- check if we need a break after this section -->
{% assign needs_break = false %}
<!-- list all the people -->
{% for person in page.people %}
{% include people_chip.html %} <br />
{% assign needs_break = true %}
{% endfor %}
<!-- if we have collaborators, we need to have a break -->
{% if needs_break %}
{% assign needs_break = false %}
{% for person in page.collaborators %}
{% assign needs_break = true %}
{% endfor %}
{% if needs_break %}
<hr />
{% endif %}
{% endif %}
<!-- and print the collaborators -->
{% for person in page.collaborators %}
<div class="chip">
{{person}}
</div>
<br />
{% endfor %}
</div>
{% if page.website %}
<div class="card-action">
{% if page.website %}
<a target="_blank" href="{{page.website}}">Website</a>
{% endif %}
<a href="https://kwarc.info/{{ page.account }}/publications.html">Publications</a>
</div>
{% endif %}
</div>
</div>
<div class="caption">
{{content}}
</div>
</div