Skip to content
Snippets Groups Projects
Commit 3f8d5d3b authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4027: updating the macro for tags so that it works in Drupal

parent 51edd998
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,3 @@
'title': title
} %}
{% endmacro %}
{% macro tag(url, title, type = "full", size = "normal" ) %}
{% include '@components/tag/tag.twig' with {
'url': url,
'title': title,
'type': type,
'size': size,
'faculty':faculty
} %}
{% endmacro %}
{% import '@macros/gesso.macro.twig' as macros %}
{% import '@components/tag/_tag_macro.twig' as macros %}
<article class="card {{ modifier_classes }} {% if show_hover %} card--show-hover {% endif %}" >
<div class="card__body">
......
{% macro tag(url, title, type = "full", size = "normal" ) %}
{% include '@components/tag/tag.twig' with {
'url': url,
'title': title,
'type': type,
'size': size,
'faculty':faculty
} %}
{% endmacro %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment