feat: migration vers template academic-homepage original
Build and Deploy Jekyll / deploy (push) Successful in 42s
Build and Deploy Jekyll / deploy (push) Successful in 42s
This commit is contained in:
+26
-21
@@ -1,27 +1,32 @@
|
||||
---
|
||||
layout: default
|
||||
title: Publications
|
||||
url: /publications
|
||||
title : Publications
|
||||
navbar_title: Publications
|
||||
body_attr: >-
|
||||
data-spy="scroll" data-target="#navbar-year" data-offset="100"
|
||||
---
|
||||
<h1 style="font-size:1.5rem;font-weight:600;margin-bottom:2rem">Publications</h1>
|
||||
<div class="pub-list">
|
||||
{% assign pubs_by_year = site.publications | group_by: "year" | sort: "name" | reverse %}
|
||||
{% for year_group in pubs_by_year %}
|
||||
<div style="margin-bottom:2rem">
|
||||
<div style="font-size:1rem;font-weight:600;color:var(--text-muted);margin-bottom:1rem">{{ year_group.name }}</div>
|
||||
{% for pub in year_group.items %}
|
||||
<div class="pub-card" style="margin-bottom:1rem">
|
||||
<div>
|
||||
<div class="pub-title">{{ pub.title }}</div>
|
||||
<div class="pub-authors">{{ pub.authors }}</div>
|
||||
<div class="pub-venue">{{ pub.venue }}</div>
|
||||
<div class="pub-links">
|
||||
{% if pub.paper_url %}<a href="{{ pub.paper_url }}" target="_blank">Paper</a>{% endif %}
|
||||
{% if pub.code_url %}<a href="{{ pub.code_url }}" target="_blank">Code</a>{% endif %}
|
||||
|
||||
{% assign pubs_by_year = site.publications | sort: "date" | reverse | group_by_exp: "item", "item.date | date: '%Y'" %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-10">
|
||||
{% for year in pubs_by_year %}
|
||||
{% assign num_papers = year.items | size %}
|
||||
<h2 class="pt-4" id="year-{{ year.name }}">{{ year.name }}</h2>
|
||||
<div class="my-0 p-0 bg-white shadow-sm rounded-xl">
|
||||
{% for item in year.items %}
|
||||
{% include widgets/publication_item.html item=item hide_bottom_border=forloop.last first=forloop.first last=forloop.last %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="col-2 d-none d-lg-block">
|
||||
<div id="navbar-year" class="nav nav-pills flex-column sticky-top" style="top: 80px">
|
||||
{% for year in pubs_by_year %}
|
||||
<a class="nav-link d-block" href="#year-{{ year.name }}">{{ year.name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user