layout | title | description | image | permalink | newsletter |
---|---|---|---|---|---|
content-feed |
Communities |
A list of communities whose events are included in our calendar. |
/assets/img/posts/communities-og_thumb.jpeg |
/communities/ |
false |
<div id="calendar-wrap">
<h2 class="resource-header">Groups with Active Events</h2>
<div class="post-list resource-list month-block">
{% assign sorted_communities = site.communities | sort:'title' %}
{% for community in sorted_communities %}
{% assign sorted-events = site.events | where: 'organiserid', community.dataID %}
{% if sorted-events.size > 0 %}
{% include community-card.html show-active="false"%}
{% endif %}
{% endfor %}
</div>
<h2 class="resource-header">All Groups</h2>
<div class="post-list resource-list month-block">
{% for community in sorted_communities %}
{% assign sorted-events = site.events | where: 'organiserid', community.dataID %}
{% if sorted-events.size > 0 %}
{% include community-card.html showactive="true" condensed="true" %}
{% elsif community.archive == false%}
{% include community-card.html showactive="false" condensed="true" %}
{% endif %}
{% endfor %}
</div>
<h2 class="resource-header">Archived Groups</h2>
<div class="post-list resource-list month-block">
{% for community in sorted_communities %}
{% assign sorted-events = site.events | where: 'organiserid', community.dataID %}
{% if community.archive == true %}
{% include community-card.html showactive="false" condensed="true" archive="true" %}
{% endif %}
{% endfor %}
</div>
</div>