added variable for sorting out all types of promo content

This commit is contained in:
VitaliyTr 2017-01-25 17:49:58 +07:00
parent a1e8deecc0
commit 60e3ec20a8
16 changed files with 90 additions and 15 deletions

View file

@ -5,16 +5,30 @@ description: pages.graphics.description
---
{% include hero/graphics.html %}
<div class="page page--wallets">
{% assign logos = site.data.graphics-collection | where:"type","logo" %}
{% assign merchants = site.data.graphics-collection | where:"type","merchants" %}
<div class="page">
<section class="section">
<div class="section__content">
<h2>{% t pages.graphics.logos-header %}</h2>
<div class="row">
{% for graphic in site.data.graphics-collection %}
{% for graphic in logos %}
{% include graphics-tile.html %}
{% endfor %}
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<h2>{% t pages.graphics.merchants-header %}</h2>
<div class="row">
{% for graphic in merchants %}
{% include graphics-tile.html %}
{% endfor %}
</div>
</div>
</section>
</div>