Skip to content

Commit

Permalink
Create new page to list publications by year, remove link to ICT website
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopernpruner committed Feb 11, 2023
1 parent 90fa19e commit 4263986
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
- name: Former
link: /people/former
- name: Publications
link: https://ict.fbk.eu/units/st/
link: /publications/
18 changes: 18 additions & 0 deletions _layouts/publications-list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: page
---

<div class="columns is-multiline">
<div class="column is-12">
{{ content }}
</div>

<div class="column is-12">
{% assign publicationsByYear = site.data.publications | where_exp: "publication", "publication.id_iris != nil" | group_by: "year" | sort: "name" | reverse %}

{% for year in publicationsByYear %}
<h1>{{ year.name }} <small>({{ year.items.size }})</small></h1>
{% include list-publications.html source=year.items sort="title" %}
{% endfor %}
</div>
</div>
7 changes: 7 additions & 0 deletions publications.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Publications
layout: publications-list
permalink: /publications/

---

0 comments on commit 4263986

Please sign in to comment.