safing-web/community-hub/index.html
2018-06-11 12:52:23 +02:00

15 lines
478 B
HTML

---
layout: page_markdown
title: community-hub
heading: The Community Hub
exclude_community_snippet: true
---
<div class="community-hub">
{% for pitch in site.data.community_hub.communities %}
<a href="{{ pitch.url }}"{% if pitch.pending %}{% else %} target="_blank"{% endif %}>
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
{% assign modulo = forloop.index | modulo: 2 %}
{% include pitch.html %}
<a>
{% endfor %}
</div>