Skip to content

Commit 7e5f6cb

Browse files
Dont inherit context in homepage renderer
1 parent 84cedfb commit 7e5f6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LIN3S/PatternLibraryBuilder/Resources/templates/renderers/homepage.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="homepage__item-render">
1010
{% if item.config.config.renderer.type == 'twig' %}
1111
{% set options = item.config.config.renderer.options %}
12-
{{ include(options.template, options.preview_parameters|first) }}
12+
{{ include(options.template, options.preview_parameters|first, with_context = false) }}
1313
{% endif %}
1414
</div>
1515
<a class="homepage__item-link" href="{{ item.config.slug }}">

0 commit comments

Comments
 (0)