grass-website icon indicating copy to clipboard operation
grass-website copied to clipboard

Fixes #557 — Converts the news archive collapse to Bootstrap 5 markup and restores expand/collapse functionality for older years. Tested locally with `hugo server`. Footer JS loading adjusted to ensure Bootstrap 5 bundle attaches collapse handlers correctly.

Open subhu339 opened this issue 1 month ago • 1 comments

Fixes #557

This pull request updates the GRASS website news page to correctly support Bootstrap 5 and restores the collapse/expand behavior of yearly news sections.

Summary of Changes Replaced old Bootstrap 3 collapse components with Bootstrap 5 accordion structure Ensured the 2025 section is open by default Added proper attributes (data-bs-toggle, data-bs-target, accordion-item, accordion-header, etc.) Removed outdated .panel and .panel-group markup Fixed layout issue where the sidebar (Mastodon/Twitter/events) appeared beside some years Cleaned up and updated the footer partial to match Bootstrap 5 expectations Verified locally with Hugo to confirm: Accordion opens and closes correctly Only one year stays open at a time Sidebar stays properly aligned

subhu339 avatar Nov 13 '25 19:11 subhu339