Skip to content

Commit 6aa7451

Browse files
committed
macro imported in block and used in subblock is not valid
twigphp/Twig#3090
1 parent f608211 commit 6aa7451

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/Marketplace/templates/plugin-list.twig

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
{% import '@Marketplace/macros.twig' as marketplaceMacro %}
2-
31
{% if pluginsToShow|length > 0 %}
42
<div class="pluginListContainer row">
53
{% for plugin in pluginsToShow %}
64
<div class="col s12 m6 l4">
75
{% embed 'contentBlock.twig' with {'title': ''} %}
86
{% block content %}
7+
{% import '@Marketplace/macros.twig' as marketplaceMacro %}
98
<div class="plugin">
109
<h3 class="card-title" title="{{ 'General_MoreDetails'|translate }}">
1110
<a href="#" piwik-plugin-name="{{ plugin.name }}">{{ plugin.displayName }}</a>

0 commit comments

Comments
 (0)