Skip to content

Clean up miniview and search templates#659

Merged
vsalvino merged 2 commits intomainfrom
miniviews
Nov 14, 2024
Merged

Clean up miniview and search templates#659
vsalvino merged 2 commits intomainfrom
miniviews

Conversation

@vsalvino
Copy link
Copy Markdown
Contributor

@vsalvino vsalvino commented Nov 14, 2024

  • Add miniview and search template for Article and Event pages.
  • Use miniview for Article Index and Event Index pages, for consistency.
  • Make miniviews renderings more consistent throughout the site.
  • Uniform height of cards when rendering miniviews in a row, e.g. related pages or latest pages.
  • Fix heading levels in miniviews and search templates to fix accessibility warnings.
  • Miniviews now have two new variables to control heading size and card styling, which can be passed in: {% include .. with h="h3" and miniview_css_class="my-class-here" %}

Fixes #578, #647, and #660

* Add miniview and search template for Article and Event pages.
* Use miniview for Article Index and Event Index pages, for consistency.
* Make miniviews renderings more consistent throughout the site.
* Uniform height of cards when rendering miniviews in a row, e.g. related pages or latest pages.
@vsalvino vsalvino added this to the 4.1 milestone Nov 14, 2024
@vsalvino vsalvino merged commit cd1c522 into main Nov 14, 2024
@vsalvino vsalvino deleted the miniviews branch November 14, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cards are not equal height

1 participant