-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathresearch.html
More file actions
73 lines (66 loc) · 2.53 KB
/
research.html
File metadata and controls
73 lines (66 loc) · 2.53 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
layout: default
title: Research
permalink: /research/
---
<link rel="stylesheet" href="/assets/css/research.css">
<div class="research-list">
{% for project in site.projects %}
<div class="research-item">
{% if project.image %}
<div class="project-image">
{% if project.webpage_url %}
<a href="{{ project.webpage_url }}">
<img src="{{ project.image }}" alt="{{ project.title }}">
</a>
{% else %}
<img src="{{ project.image }}" alt="{{ project.title }}">
{% endif %}
</div>
{% endif %}
<div class="project-content">
<h2>
{% if project.webpage_url %}
<a href="{{ project.webpage_url }}">{{ project.title }}</a>
{% else %}
{{ project.title }}
{% endif %}
{% if project.conference %}
<span class="conference-tag">[{{ project.conference }}]</span>
{% endif %}
</h2>
<div class="post-meta">
{% if project.author %}
<span class="post-author">{{ project.author }}</span>
{% endif %}
</div>
{% if project.subtitle %}
<p class="post-subtitle">{{ project.subtitle }}</p>
{% endif %}
<div class="project-links">
<p>
{% assign links = "" %}
{% if project.webpage_url %}
{% assign links = links | append: '<a href="' | append: project.webpage_url | append: '">Webpage</a>' %}
{% endif %}
{% if project.github_url %}
{% if links != "" %}{% assign links = links | append: ' / ' %}{% endif %}
{% assign links = links | append: '<a href="' | append: project.github_url | append: '">Code</a>' %}
{% endif %}
{% if project.paper_url %}
{% if links != "" %}{% assign links = links | append: ' / ' %}{% endif %}
{% assign links = links | append: '<a href="' | append: project.paper_url | append: '">Paper</a>' %}
{% endif %}
{% if project.arxiv_url %}
{% if links != "" %}{% assign links = links | append: ' / ' %}{% endif %}
{% assign links = links | append: '<a href="' | append: project.arxiv_url | append: '">Arxiv</a>' %}
{% endif %}
{{ links | raw }}
</p>
</div>
</div>
</div>
{% else %}
<p>No projects found. Check <code>_projects/</code> folder.</p>
{% endfor %}
</div>