feather/_includes/category.html

11 lines
446 B
HTML
Raw Normal View History

2017-05-24 06:44:01 +03:00
<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>