feather/_includes/icons.html
2017-03-02 19:47:41 -08:00

15 lines
574 B
HTML

<section class="section icons">
<div class="container icons-container">
{% for icon in site.data['icons-manifest'] %}
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
<div class="feather-icon" tabindex="0">
{% include_relative {{ icon_path }} %}
<div class="tooltip">
<p class="tooltip-icon-name">{{ icon }}</p>
<!-- TODO: remove tabindex="-1" -->
<a class="tooltip-download" href="{{ icon_path }}" download tabindex="-1">Download</a>
</div>
</div>
{% endfor %}
</div>
</section>