{# Including a legacy template with the parameter: location (called a Node in legacy). # This is an easy way to use legacy code inside a twig template. # You can look at the DemoController calling this template to have a good example on own to sandbox # a legacy feature inside a controller using a subrequest. #} {% include "design:parts/related_content.tpl" with {"node": location } %}