safing-web/community-hub/index.html
2018-09-25 15:08:34 +02:00

17 lines
544 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 class="ui button"{% unless pitch.pending %} href="{{ pitch.url }}"{% unless pitch.internal %} target="_blank"{% endunless %}{% endunless %}>
{% comment %}0 = even (right text), 1 = odd (left text){% endcomment %}
{% assign modulo = forloop.index | modulo: 2 %}
{% include pitch.html %}
<a>
{% endfor %}
</div>