I’ve saved a block of code as an Element template in my Library. Now I’d like to pull that onto a specific page.
I’ve had success using the Twig Templates functionality (thanks to your help), but the element template above is clearly a different template. How do I pull an element I’ve templated?
{% if url.path == 'my-account' %}
{{ *print the templated element named 'latest-post'* }}
{% else %}
{% endif %}
Or barring that, is there a way to call a block of code (vs including the literal code in the Twig Template?)?
Thanks!