Reorganize macros into separate component files

Replace a few old UI Module instances with  macros
This commit is contained in:
Andrew Croce
2018-08-03 10:35:04 -04:00
committed by richard-dds
parent a0082a2ae2
commit 64b40c0cf3
29 changed files with 198 additions and 298 deletions

View File

@@ -0,0 +1,6 @@
{% macro Icon(name, classes="") -%}
{% autoescape false %}
<span class="icon icon--{{name}} {{classes}}" aria-hidden="true">{{ name | iconSvg }}</span>
{% endautoescape %}
{%- endmacro %}