1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-24 02:38:15 +04:00
Files
tabler/pages/_includes/ui/icon.html
2019-04-12 22:28:00 +02:00

7 lines
284 B
HTML

{% capture class %}{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}{% endcapture %}
{% assign class = class | strip %}
{% capture i %}
{% include icons/{{ include.icon }}.svg %}
{% endcapture %}
{{ i | svg_icon: class }}