datat.fi/_includes/cv/awards.html

24 lines
699 B
HTML

{% if cv.awards %}
<div id="awards" class="entry">
<header class="entry-header">
<h3 class="entry-title">{{ site.data.theme.t.cv_awards | default: 'Awards' }}</h3>
</header>
<div class="entry-content">
{% for a in cv.awards %}
{% if a.title %}
<h4 class="title">{{ a.title }}</h4>
{% endif %}
{% if a.date %}
<div class="date">{{ a.date }}</div>
{% endif %}
{% if a.awarder %}
<h5 class="awarder">{{ a.awarder }}</h5>
{% endif %}
{% if a.summary %}
<div class="summary">{{ a.summary | markdownify }}</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}