-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publications.html
54 lines (52 loc) · 2.56 KB
/
publications.html
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
---
layout: default
title: Publications
description: "???"
---
<body>
<main>
<div>
<h1>Publications</h1>
<div class="publication-card-container">
{% for publication in site.publications reversed %}
<a href="{% if publication.redirect %}{{ publication.redirect }}{% else %}{{ publication.url }}{% endif %}" target="{% if publication.redirect %}_blank{% else %}_self{% endif %}" class="publication-card">
<div class="publication-card-content {% if publication.redirect %}publication-card-content-partial{% endif %}">
<h3 class="publication-card-title publication-info-row">{{ publication.title }}</h3>
<div class="publication-card-main-area">
<div class="publication-info-row">
<p class="publication-card-text">{% include inline_icon.html svg="/assets/icons/calendar3.svg" %} <strong class="publication-card-text">Date:</strong></p>
<p><span class="publication-card-text">{{ publication.date | date: "%d.%m.%Y" }}</span></p>
</div>
<div class="publication-info-row">
<p class="publication-card-text">{% include inline_icon.html svg="/assets/icons/person-fill.svg" %} <strong class="publication-card-text">Author:</strong></p>
<p><span class="publication-card-text">{{ publication.author }}</span></p>
</div>
<div class="publication-info-row">
<p class="publication-card-text">{% include inline_icon.html svg="/assets/icons/people-fill.svg" %} <strong class="publication-card-text">Collaborators:</strong></p>
<p class="publication-card-text">
{%- assign collaborators = publication.collaborators | split: ", " -%}
{%- assign amount = collaborators.size | minus: 1 -%}
{%- assign range = (0..amount) -%}
{%- for i in range -%}
{% include inline_icon.html svg="/assets/icons/discord.svg" %} <span class="publication-card-text">{{ collaborators[i] }}</span>{% if i < amount %}<span class="publication-card-text">,<br></span>{% endif %}
{%- endfor -%}
</p>
</div>
</div>
</div>
{% if publication.redirect %}
<div class="publication-card-sidelink">
<svg class="publication-card-platform-icon block" xmlns="http://www.w3.org/2000/svg" width="40" height="40">
<use href="/assets/icons/github.svg#main"></use>
</svg>
<svg class="publication-card-external-icon block" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
<use href="/assets/icons/box-arrow-up-right.svg#main"></use>
</svg>
</div>
{% endif %}
</a>
{% endfor %}
</div>
</div>
</main>
</body>