Atom
A new way of building twig templates in a cleaner, modular way.
{# _atoms/my-atom.twig #}
<div>
<h1>{{ heading }}</h1>
{{ children }}
</div>
{# _atoms/another.twig #}
<p>Nullam quis risus eget urna mollis ornare vel eu leo.</p>
{# index.twig #}
{% x:my-atom { heading: "Hello world!" } %}
<p>Lorem ipsum dolor amet</p>
{% x:another %}
{% endx:my-atom %}
Free
Package Name
To install this plugin, search for its package name on the Plugin Store and click “Install”.