mirror of
https://git.coop/cotech/website.git
synced 2024-12-22 10:35:24 +00:00
Add a sum of all members to the homepage
This replaces the hard-corded number we were using previously.
This commit is contained in:
parent
6ba79a775d
commit
e8748d9e30
@ -15,7 +15,11 @@ layout: home
|
||||
<div class="small-3 columns">
|
||||
<img src="/app/themes/coop-tech-oowp-theme/public/img/icon-staff.png" class="float-center">
|
||||
<h6>Staff</h6>
|
||||
<h5>253+</h5>
|
||||
{% assign total_members = 0 %}
|
||||
{% for coop in site.coops %}
|
||||
{% assign total_members = total_members | plus: coop.members %}
|
||||
{% endfor %}
|
||||
<h5>{{ total_members }}+</h5>
|
||||
</div>
|
||||
<div class="small-3 columns">
|
||||
<img src="/app/themes/coop-tech-oowp-theme/public/img/icon-revenue.png" class="float-center">
|
||||
|
Loading…
Reference in New Issue
Block a user