From 07cb0d8f8ed5ba5d05682e015109efbedd790797 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 12 May 2026 19:55:59 +0000 Subject: [PATCH] publications: remove year-filter chips Per feedback. The other PR #45 additions stay (title hyperlinks, bold lab authors, venue-type badges); just dropping the chips row + its toggle JS + its CSS. Also removed the now-orphaned mention of chips from the file header comment. --- _includes/pubs.html | 24 ------------------------ css/publications.css | 29 ----------------------------- 2 files changed, 53 deletions(-) diff --git a/_includes/pubs.html b/_includes/pubs.html index 32789a1..f64acc4 100644 --- a/_includes/pubs.html +++ b/_includes/pubs.html @@ -9,7 +9,6 @@ adding/removing a member there propagates here automatically. - Auto-derived type badge (journal / preprint / conference) based on the venue string — no extra data entry required. - - Year-filter chips at the top let visitors narrow to a single year. {%- endcomment -%} {%- assign all_lab_people = "" | split: "" -%} @@ -38,13 +37,6 @@ {% assign sorted_pubs = site.data.publications | group_by_exp:'item', 'item.issued.first.year' | sort: 'name' | reverse %} - -
{% for year in sorted_pubs %}
@@ -83,19 +75,3 @@

{{ year.name }}

{% endfor %}
- - diff --git a/css/publications.css b/css/publications.css index 404d99b..bd24d89 100644 --- a/css/publications.css +++ b/css/publications.css @@ -2,35 +2,6 @@ max-width: 900px; } -/* Year filter chips */ -.year-filter { - margin: 0 0 1.5em 0; - display: flex; - flex-wrap: wrap; - gap: 0.4em; -} - -.year-filter .year-chip { - padding: 0.25em 0.7em; - border: 1px solid #ccc; - background: #fff; - border-radius: 12px; - font-size: 0.9em; - cursor: pointer; - color: #444; - line-height: 1.4; -} - -.year-filter .year-chip:hover { - background: #f5f5f5; -} - -.year-filter .year-chip.active { - background: #337ab7; - color: #fff; - border-color: #337ab7; -} - /* Per-paper venue-type badge (auto-derived from container-title) */ .pub-badge { display: inline-block;