mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Reorganize site
This commit is contained in:
11
_includes/category.html
Normal file
11
_includes/category.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user