-
Notifications
You must be signed in to change notification settings - Fork 8
/
waves.html
35 lines (35 loc) · 1.14 KB
/
waves.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: default
title: Glyphs per wave
permalink: /waves/
---
{% assign collection = site.collections | where: 'label', 'wf-partner' | first %}
{% assign collection = collection.docs | group_by_exp:"cc", "cc.glyphwave | prepend: '000' | slice: -4, 4" | sort: "name" | reverse %}
{% for group in collection %}
{% if group.name == '' %}
{% continue %}
{% endif %}
{% assign wave = group.name | plus: 0 %}
<div class="container-fluid mt-4">
<a href="#{{ wave }}">
<h3 class="text-muted" id="{{ wave }}">Wave {{ wave }}<span class="float-right">{{ group.items.size }} glyphs</span></h3>
</a>
<div class="row justify-content-center cc-list">
{% for cc in group.items %}
{% if cc.title == 'Template' %}
{% continue %}
{% endif %}
{% if cc.layout != 'cc' %}
{% continue %}
{% endif %}
{% unless cc.glyphwave %}
{% continue %}
{% endunless %}
{% if cc.exclude %}
{% continue %}
{% endif %}
{% include cc-card.html %}
{%endfor%}
</div>
</div>
{%endfor%}