List coops offering specific service

This commit is contained in:
Chris Roos 2017-06-27 16:12:21 +01:00
parent c1d855e777
commit cf97187b86

View File

@ -1 +1,9 @@
<h1>Coops that offer {{ page.name }}</h1> <h1>Coops that offer {{ page.name }}</h1>
<ul>
{% for coop in site.coops %}
{% if coop.services contains page.slug %}
<li>{{ coop.name }}</li>
{% endif %}
{% endfor %}
</ul>