[GRASS-git] [OSGeo/grass-website] da6592: Fix for News section broken: collapse/expand faili...
subhash
noreply at github.com
Mon Dec 1 10:17:44 PST 2025
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass-website
Commit: da6592ebad3393cc87d1123627b0c62acdfde789
https://github.com/OSGeo/grass-website/commit/da6592ebad3393cc87d1123627b0c62acdfde789
Author: subhash <sk3656770 at gmail.com>
Date: 2025-12-01 (Mon, 01 Dec 2025)
Changed paths:
M themes/grass/layouts/news/allnews.html
M themes/grass/layouts/partials/footer.html
Log Message:
-----------
Fix for News section broken: collapse/expand failing (#560)
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
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-website/settings/notifications
More information about the grass-commit
mailing list