datat.fi/_includes/cv/publications.html

30 lines
935 B
HTML
Raw Normal View History

2017-03-07 23:12:17 +02:00
{% if cv.publications %}
<div id="publications" class="entry">
<header class="entry-header">
<h3 class="entry-title">{{ site.data.theme.t.cv_publications | default: 'Publications' }}</h3>
2017-03-07 23:12:17 +02:00
</header>
<div class="entry-content">
{% for p in cv.publications %}
{% if p.name %}
<h4 class="title">
{% if p.website %}
<a href="{{ p.website }}">{{ p.name }}</a>
{% else %}
{{ p.name }}
{% endif %}
</h4>
{% endif %}
{% if p.releaseDate %}
<div class="date">{{ p.releaseDate }}</div>
{% endif %}
{% if p.publisher %}
<h5 class="publisher">{{ p.publisher | prepend: 'Published by ' }}</h5>
{% endif %}
{% if p.summary %}
<div class="summary">{{ p.summary | markdownify }}</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}