feather/_includes/category.html
2017-05-23 20:44:01 -07:00

11 lines
446 B
HTML

<div class="pv4">
<h2 class="mt0 mb3 tc f6 ttu tracked normal">{{ include.category | replace: '-', ' '}}</h2>
<ul class="flex flex-wrap justify-center mv0 pl0 list">
{% capture category_path %}icons/{{ include.category }}{% endcapture %}
{% for icon in site.static_files %}
{% if icon.path contains category_path %}
{% include icon.html icon=icon %}
{% endif %}
{% endfor %}
</ul>
</div>