6
6
---
7
7
8
8
< head >
9
+ < link rel ="preconnect " href ="https://fonts.googleapis.com ">
10
+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
11
+ < link href ="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap " rel ="stylesheet ">
12
+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css ">
9
13
< link rel ="stylesheet " href ="/assets/css/main.css ">
14
+ < link rel ="stylesheet " href ="/assets/css/publication_overview.css ">
10
15
< link rel ="stylesheet " href ="/assets/css/style.css ">
11
- < link rel ="stylesheet " href ="/assets/css/bulma.min.css ">
12
- < link rel ="stylesheet " href ="/assets/css/bulma-carousel.min.css ">
13
- < link rel ="stylesheet " href ="/assets/css/bulma-slider.min.css ">
14
- < link rel ="stylesheet " href ="/assets/css/fontawesome.all.min.css ">
15
- < link rel ="stylesheet " href ="/assets://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css ">
16
- < link rel ="stylesheet " href ="/assets/css/slider-component.css ">
17
16
< link rel ="stylesheet " href ="/assets/css/index.css ">
18
17
</ head >
19
18
20
- < section class ="section ">
21
- < div class ="container is-max-desktop ">
22
- {% assign sorted = site.publications | reverse %}
23
- {% for publication in sorted %}
24
- < div class ="publication-block columns ">
25
- < div class ="column is-5 ">
26
- {% if publication.external_link != nil %}
27
- {% assign base_link = publication.external_link %}
28
- {% else %}
29
- {% assign base_link = publication.permalink %}
30
- {% endif %}
31
- {% if publication.image_mouseover == nil %}
32
- {% assign image_mouseover = publication.image %}
33
- {% else %}
34
- {% assign image_mouseover = publication.image_mouseover %}
35
- {% endif %}
36
- {% assign image = base_link | append: publication.image %}
37
- {% assign image_mouseover = base_link | append: image_mouseover %}
38
- {% include preview.html media1=image media2=image_mouseover %}
39
- <!-- {% if publication.image_mouseover contains "mp4" %}
40
- <div class="publication-image {% if publication.image_mouseover %}publication-mousecell{% endif %}">
41
- <video autoplay preload playsinline class="" height="100%" loop muted width="100%">
42
- <source src="{{ base_link }}{{ publication.image_mouseover }}" type="video/mp4">
43
- Your browser does not support the video tag.
44
- </video>
45
- <img alt="{{publication.title}}" src="{{base_link}}{{ publication.image }}" />
46
- </div>
47
- {% else %}
48
- <img width="100%" src="{{base_link}}{{ publication.image }}" onmouseover="this.src='{{base_link}}{{ publication.image_mouseover }}';" onmouseout="this.src='{{base_link}}{{ publication.image }}';" style="display: inline-block;"/>
49
- {% endif %} -->
50
- </ div >
51
- < div class ="column ">
52
- < div class ="content ">
53
- {% if publication.external_link != nil %}
54
- < h3 class ="publication-title "> < a href ="{{ publication.external_link }} "> {{ publication.title }}</ a > </ h3 >
55
- {% else %}
56
- < h3 class ="publication-title "> < a href ="{{ publication.permalink }} "> {{ publication.title }}</ a > </ h3 >
57
- {% endif %}
58
- < div class ="publication-authors ">
59
- {% for author_id in publication.authors %}
60
- {% if site.data.authors_external[author_id.name] != nil %}
61
- {% assign author = site.data.authors_external[author_id.name] %}
62
- {% endif %}
63
- {% if site.data.authors_internal[author_id.name] != nil %}
64
- {% assign author = site.data.authors_internal[author_id.name] %}
19
+ < body >
20
+ < section class ="section ">
21
+ < div class ="container is-max-desktop ">
22
+ {% assign sorted = site.publications | reverse %}
23
+ {% for publication in sorted %}
24
+ < div class ="publication-block ">
25
+ < div class ="publication-media ">
26
+ {% if publication.external_link != nil %}
27
+ {% assign base_link = publication.external_link %}
28
+ {% else %}
29
+ {% assign base_link = publication.permalink %}
65
30
{% endif %}
66
- < span class ="author-block {% if author.is_me %}author-me{% endif %} ">
67
- {% if author.is_me %}
68
- {{ author.first_name }} {{author.middle_name}} {{ author.last_name }}{% if author_id.equal_contribution != nil %}< sup > *</ sup > {% endif %}{% if forloop.last == false %},{%
69
- endif %}
31
+ {% if publication.image_mouseover == nil %}
32
+ {% assign image_mouseover = publication.image %}
70
33
{% else %}
71
- < a href =" {{author.website}} " > {{ author.first_name }} {{ author.middle_name }} {{ author.last_name}} </ a > {% if author_id.equal_contribution != nil %} < sup > * </ sup > {% endif %}{% if forloop.last == false %},{% endif %}
34
+ {% assign image_mouseover = publication.image_mouseover %}
72
35
{% endif %}
73
- </ span >
74
- {% endfor %}
75
- </ div >
76
- < div class ="publication-venue ">
77
- < span > {{ publication.venue }}</ span >
78
- {% for award in publication.awards %}
79
- < span class ="publication-venue-emph "> {{ award }}< span >
36
+ {% assign image = base_link | append: publication.image %}
37
+ {% assign image_mouseover = base_link | append: image_mouseover %}
38
+ {% include preview.html media1=image media2=image_mouseover %}
39
+ </ div >
40
+ < div class ="publication-data column ">
41
+ < h3 class ="publication-title ">
42
+ {% if publication.external_link != nil %}
43
+ < a href ="{{ publication.external_link }} "> {{ publication.title }}</ a >
44
+ {% else %}
45
+ < a href ="{{ publication.permalink }} "> {{ publication.title }}</ a >
46
+ {% endif %}
47
+ </ h3 >
48
+ < div class ="publication-venue ">
49
+ < span > {{ publication.venue }}</ span >
50
+ {% for award in publication.awards %}
51
+ < span class ="publication-venue-emph "> {{ award }}< span >
80
52
{% endfor %}
81
- </ div >
82
- < p class ="publication-description "> {{ publication.description }}</ p >
83
- < p >
84
- {% for link in publication.links %}
85
- < a href ="{{ link.link }} "> {{link.name}}</ a >
86
- {% if forloop.last == false or publication.citation != nil %}|{% endif %}
87
- {% endfor %}
88
- {% if publication.citation != nil %}
89
- < a onclick ="CopyToClipboard('{{publication.citation}}') ">
90
- Citation
91
- < i class ="fa fa-copy "> </ i >
92
- </ a >
93
- {% endif %}
94
- </ p >
53
+ </ div >
54
+ < div class ="publication-authors ">
55
+ {% for author_id in publication.authors %}
56
+ {% if site.data.authors_external[author_id.name] != nil %}
57
+ {% assign author = site.data.authors_external[author_id.name] %}
58
+ {% endif %}
59
+ {% if site.data.authors_internal[author_id.name] != nil %}
60
+ {% assign author = site.data.authors_internal[author_id.name] %}
61
+ {% endif %}
62
+ < span class ="author-block {% if author.is_me %}author-me{% endif %} ">
63
+ {% if author.is_me %}
64
+ {{ author.first_name }} {{author.middle_name}} {{ author.last_name }}{% if author_id.equal_contribution != nil %}< sup > *</ sup > {% endif %}{% if forloop.last == false %},{%
65
+ endif %}
66
+ {% else %}
67
+ < a href ="{{author.website}} "> {{ author.first_name }} {{ author.middle_name }} {{ author.last_name}}</ a > {% if author_id.equal_contribution != nil %}< sup > *</ sup > {% endif %}{% if forloop.last == false %},{% endif %}
68
+ {% endif %}
69
+ </ span >
70
+ {% endfor %}
71
+ </ div >
72
+ < p class ="publication-description "> {{ publication.description }}</ p >
73
+ < p >
74
+ {% for link in publication.links %}
75
+ < a class ="publication-links " href ="{{ link.link }} "> {{link.name}}</ a >
76
+ {% if forloop.last == false or publication.citation != nil %}|{% endif %}
77
+ {% endfor %}
78
+ {% if publication.citation != nil %}
79
+ < a class ="publication-links " onclick ="CopyToClipboard('{{publication.citation}}') ">
80
+ Citation
81
+ < i class ="fa fa-copy
82
+ "> </ i >
83
+ </ a >
84
+ {% endif %}
85
+ </ p >
95
86
</ div >
96
87
</ div >
88
+ <!-- {% if forloop.last == false %}
89
+ <hr>
90
+ {% endif %} -->
91
+ {% endfor %}
97
92
</ div >
98
- {% if forloop.last == false %}
99
- < hr >
100
- {% endif %}
101
- {% endfor %}
102
- </ div >
103
- </ section >
93
+ </ section >
94
+ </ body >
0 commit comments