-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublications.html
More file actions
38 lines (36 loc) · 1.45 KB
/
publications.html
File metadata and controls
38 lines (36 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: Publications
layout: default
navigation_weight: 5
---
{% for post in site.posts %}
{% for cat in post.categories %}
{% if cat == 'research' %}
<div class="research-entry" style="display: flex; align-items: center; margin-bottom: 20px; border: 3px solid #f8f8f8; padding: 10px;">
<!-- Image on the left -->
<div style="width: 60%; min-width: 120px; text-align: left; padding-right: 15px;">
{% if post.image contains ".mp4" %}
<video autoplay loop muted playsinline style="width:auto; height:auto; max-width:100%;">
<source src="/img/{{post.image}}" type="video/mp4">
Your browser does not support the video tag.
</video>
{% else %}
<img src="/img/{{post.image}}" alt="project image" style="width:auto; height:auto; max-width:100%;" />
{% endif %}
</div>
<!-- Text on the right -->
<div class="research-details" style="width: 75%; ">
<h3>{{post.title}}</h3>
<p>{{post.authors}}</p>
<p><em>{{post.venue}}</em>, {{ post.date | date: "%Y" }}</p>
{% if post.arxiv %} <b><a href="{{post.arxiv}}">arxiv</a></b> / {% endif %}
{% if post.paper %} <b><a href="{{post.paper}}">paper</a></b> / {% endif %}
{% if post.website %} <b><a href="{{post.website}}">website</a></b> / {% endif %}
{% if post.video %} <b><a href="{{post.video}}">video</a></b> / {% endif %}
{% if post.code %} <b><a href="{{post.code}}">code</a></b> / {% endif %}
<p>{{ post.excerpt }}</p>
</div>
</div>
{% endif %}
{% endfor %}
{% endfor %}