96 lines
2.9 KiB
HTML
96 lines
2.9 KiB
HTML
---
|
|
---
|
|
|
|
{% if entry.abbr %}
|
|
<abbr>[{{entry.abbr}}]</abbr>
|
|
{% endif %}
|
|
|
|
<div id="{{entry.key}}">
|
|
{% if entry.type == "thesis" %}
|
|
{{reference}}
|
|
{% else %}
|
|
<span class="title">{{entry.title}}.</span>
|
|
<span class="author">
|
|
{% for author in entry.author_array %}
|
|
{% unless forloop.last %}
|
|
{% if author.last == site.scholar.last_name %}
|
|
<em>{{author.last}}, {{author.first}}</em>,
|
|
{% else %}
|
|
{% if site.data.coauthors[author.last] %}
|
|
<a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a>,
|
|
{% else %}
|
|
{{author.last}}, {{author.first}},
|
|
{% endif %}
|
|
{% endif %}
|
|
{% else %}
|
|
{% if entry.author_array.length > 1 %} and {% endif %}
|
|
{% if author.last == site.scholar.last_name %}
|
|
<em>{{author.last}}, {{author.first}}</em>
|
|
{% else %}
|
|
{% if site.data.coauthors[author.last] %}
|
|
<a href="{{site.data.coauthors[author.last].url}}" target="_blank">{{author.last}}, {{author.first}}</a>
|
|
{% else %}
|
|
{{author.last}}, {{author.first}}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endunless %}
|
|
{% endfor %}
|
|
</span>
|
|
|
|
{% if entry.type != "book" %}
|
|
<span class="periodical">
|
|
{% if entry.type == "article" %}
|
|
<em>{{entry.journal}}</em>
|
|
{% elsif entry.type == "inproceedings" %}
|
|
<em>In {{entry.booktitle}}</em>
|
|
{% endif %}
|
|
{% if entry.year %}
|
|
{{entry.year}}
|
|
{% endif %}
|
|
</span>
|
|
{% endif %}
|
|
|
|
{% if entry.type == "book" %}
|
|
<span class="publisher">
|
|
{% if entry.publisher %}
|
|
<em>{{entry.publisher}}</em>
|
|
{% endif %}
|
|
{% if entry.year %}
|
|
{{entry.year}}
|
|
{% endif %}
|
|
</span>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<span class="links">
|
|
{% if entry.abstract %}
|
|
[<a class="abstract">Abs</a>]
|
|
{% endif %}
|
|
{% if entry.html %}
|
|
[<a href="{{ entry.html }}" target="_blank">HTML</a>]
|
|
{% endif %}
|
|
{% if entry.pdf %}
|
|
[<a href="{{ entry.pdf | prepend: '/assets/pdf/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">PDF</a>]
|
|
{% endif %}
|
|
{% if entry.supp %}
|
|
[<a href="{{ entry.supp | prepend: '/assets/pdf/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">Supp</a>]
|
|
{% endif %}
|
|
{% if entry.poster %}
|
|
[<a href="{{ entry.poster | prepend: '/assets/pdf/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">Poster</a>]
|
|
{% endif %}
|
|
{% if entry.slides %}
|
|
[<a href="{{ entry.slides | prepend: '/assets/pdf/' | prepend: site.baseurl | prepend: site.url }}" target="_blank">Slides</a>]
|
|
{% endif %}
|
|
{% if entry.code %}
|
|
[<a href="{{ entry.code }}" target="_blank">Code</a>]
|
|
{% endif %}
|
|
</span>
|
|
|
|
<!-- Hidden abstract block -->
|
|
{% if entry.abstract %}
|
|
<span class="abstract hidden">
|
|
<p>{{ entry.abstract }}</p>
|
|
</span>
|
|
{% endif %}
|
|
</div>
|