66 heading (string, optional) — section heading text
77 heading_url (string, optional) — if set, heading becomes a link
88 items (list, optional) — list of event objects with:
9- - title (string, required) — event title
10- - description (string, optional) — event description
11- - date (string, required) — human-readable date (e.g. "29/10/25")
12- - datetime (string, optional) — value for < time datetime ="... ">
13- - card_url (string, optional) — if set, the card is wrapped in a link
14- - card_aria_label (string, optional) — aria-label for the link; defaults to title
9+ - title (string, required) — community item title
10+ - description (string, optional) — community item description
11+ - cta_url (string, required) — link for the view more at the bottom of card
12+ - cta_aria_label (string, optional) — aria-label for the link; defaults to label
13+ - cta_label (string, required) — visible label for the link
1514 variant (string, optional) — "list" or "card", defaults to "list"
1615 theme (string, optional) — only for variant "card": "default", "grey", "yellow", "green", "teal"
1716 layout (string, optional) — "vertical" or "horizontal", defaults to "vertical"
@@ -36,7 +35,7 @@ <h3 class="community-card__title">{{ item.title }}</h3>
3635 {% if item.cta_url and item.cta_label %}
3736 < a href ="{{ item.cta_url }} "
3837 class ="community-card__link "
39- aria-label ="{{ item.card_aria_label |default:item.cta_label }} ">
38+ aria-label ="{{ item.cta_aria_label |default:item.cta_label }} ">
4039 {{item.cta_label}}
4140 </ a >
4241 {% endif %}
0 commit comments