Hi guys,
Twig had an embed tag, which allows for including a file that has {block}'s defined, and allowing overriding those blocks as part of that include.
Here's a simple example:
{% extends 'edit' %}
// ...lots of embed's
{% embed 'partials/form/row' with {
item: { label: 'Location', icon: 'pin' } }
%}
{% block input %}
Some custom text before the input
{{ parent() }}
{% endblock %}
{% endembed %}
Is there a way to achieve something similar in Volt?
Cheers, D.