diff --git a/_includes/publications.html b/_includes/publications.html
new file mode 100644
index 0000000..5ddbcfc
--- /dev/null
+++ b/_includes/publications.html
@@ -0,0 +1,30 @@
+
+ {% for pub in include.publications %}
+
+ {% assign thumb = 'assets' | append: pub.url | replace: '.html',
+ '_thumb.png' %}
+
+
+
+
{{ pub.title }}
+
+ {% for author in pub.authors %}{% include person name=author %}{%
+ unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
+ {% if pub.awards %}
+
+ {% for award in pub.awards %}{{ award }}{% unless forloop.last %}, {% endunless %}
+ {% endfor %}
+
+ {% endif %}
+
+
Show details
+
+
+ {% endfor %}
+
diff --git a/_posts/2022-04-27-chi2022.md b/_posts/2022-04-27-chi2022.md
index e75d734..6e13d93 100644
--- a/_posts/2022-04-27-chi2022.md
+++ b/_posts/2022-04-27-chi2022.md
@@ -10,27 +10,4 @@ Below are the CHI 2022 papers featuring DIG lab members:
{% assign chi_pubs = site.publications | where: "venue", "CHI" %}
{% assign chi2022_pubs = chi_pubs | where: "year", "2022" %}
-
- {% for pub in chi2022_pubs %}
-
- {% assign thumb = 'assets' | append: pub.url | replace: '.html',
- '_thumb.png' %}
-
-
-
-
{{ pub.title }}
-
- {% for author in pub.authors %}{% include person name=author %}{%
- unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
-
-
Show details
-
-
- {% endfor %}
-
+{% include publications.html publications=chi2022_pubs %}
diff --git a/_posts/2022-06-13-eurovis22.md b/_posts/2022-06-13-eurovis22.md
index d73d8d1..b96fc01 100644
--- a/_posts/2022-06-13-eurovis22.md
+++ b/_posts/2022-06-13-eurovis22.md
@@ -8,27 +8,4 @@ Frank and Will will be representing the DIG lab in Rome at EuroVis! They will pr
{% assign vis_pubs = site.publications | where: "venue", "EuroVis" %}
{% assign vis2022_pubs = vis_pubs | where: "year", "2022" %}
-
- {% for pub in vis2022_pubs %}
-
- {% assign thumb = 'assets' | append: pub.url | replace: '.html',
- '_thumb.png' %}
-
-
-
-
{{ pub.title }}
-
- {% for author in pub.authors %}{% include person name=author %}{%
- unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
-
-
Show details
-
-
- {% endfor %}
-
+{% include publications.html publications=vis2022_pubs %}
diff --git a/_posts/2022-10-11-vis2022.md b/_posts/2022-10-11-vis2022.md
index 915b251..8da7a5f 100644
--- a/_posts/2022-10-11-vis2022.md
+++ b/_posts/2022-10-11-vis2022.md
@@ -16,27 +16,4 @@ In addition, the following VIS 2022 papers feature DIG lab members:
{% assign vis_pubs = site.publications | where: "venue", "VIS" %}
{% assign vis2022_pubs = vis_pubs | where: "year", "2022" %}
-
- {% for pub in vis2022_pubs %}
-
- {% assign thumb = 'assets' | append: pub.url | replace: '.html',
- '_thumb.png' %}
-
-
-
-
{{ pub.title }}
-
- {% for author in pub.authors %}{% include person name=author %}{%
- unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
-
-
Show details
-
-
- {% endfor %}
-
+{% include publications.html publications=vis2022_pubs %}
diff --git a/_posts/2023-10-19-vis2023.md b/_posts/2023-10-19-vis2023.md
index b7b9dc7..775c002 100644
--- a/_posts/2023-10-19-vis2023.md
+++ b/_posts/2023-10-19-vis2023.md
@@ -14,33 +14,4 @@ Additionally, the following VIS 2023 papers feature DIG lab members:
{% assign vis_pubs = site.publications | where: "venue", "VIS" %}
{% assign vis2023_pubs = vis_pubs | where: "year", "2023" %}
-
- {% for pub in vis2023_pubs %}
-
- {% assign thumb = 'assets' | append: pub.url | replace: '.html',
- '_thumb.png' %}
-
-
-
-
{{ pub.title }}
-
- {% for author in pub.authors %}{% include person name=author %}{%
- unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
- {% if pub.awards %}
-
- {% for award in pub.awards %}{{ award }}{% unless forloop.last %}, {% endunless %}
- {% endfor %}
-
- {% endif %}
-
-
Show details
-
-
- {% endfor %}
-
+{% include publications.html publications=vis2023_pubs %}
diff --git a/index.html b/index.html
index de00a9e..729a7fa 100644
--- a/index.html
+++ b/index.html
@@ -124,37 +124,8 @@ Recent Publications
Show all
-
- {% assign recent_pubs = site.publications | reverse %} {% for pub in
- recent_pubs limit:5 %}
-
- {% assign thumb = 'assets' | append: pub.url | replace: '.html',
- '_thumb.png' %}
-
-
-
-
{{ pub.title }}
-
- {% for author in pub.authors %}{% include person name=author %}{%
- unless forloop.last %}, {% endunless %}{% endfor %},
{{ pub.venue }} {{ pub.year }}
- {% if pub.awards %}
-
- {% for award in pub.awards %}{{ award }}{% unless forloop.last %}, {% endunless %}
- {% endfor %}
-
- {% endif %}
-
-
Show details
-
-
- {% endfor %}
-
+ {% assign recent_pubs = site.publications | reverse %} {% for pub in recent_pubs limit:5 %}
+ {% include publications.html publications=recent_pubs %}
Show all