Skip to content

Conversation

@mattstratton
Copy link
Owner

Summary

This PR fixes the grid layout by restoring the correct "stretched link" pattern for episode and blog cards. The <a> tag is now a self-closing, absolutely positioned sibling to the card content, ensuring valid HTML and proper multi-column grid display. All related config and row layout changes are included to ensure consistency and prevent regressions.

Testing Steps

  • Run npm run build and verify that the grid layout displays cards in multiple columns as expected.
  • Confirm that each card is fully clickable and the hover effect works.
  • Check that the row layout and pagination continue to function correctly.

Context

  • This addresses a regression where the grid layout was rendered as a single column due to invalid HTML structure after a previous update.
  • All changed files are included in this commit to ensure nothing is missed.

🤖 This was generated by a bot. If you have questions, please contact the maintainers.

@mattstratton mattstratton changed the title Fix grid card HTML structure for stretched link pattern and restore grid layout Fix so sidebar only shows on home page when jumbotron disabled May 24, 2025
@mattstratton mattstratton merged commit cb2d610 into v2 May 24, 2025
4 checks passed
@mattstratton mattstratton deleted the fix/grid-stretched-link-html branch May 24, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants