Atom


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”.


Information

  • Version 1.0.4
  • Last Update 2/15/2021
  • Active Installs 19
  • Compatibility Craft 3
  • License MIT
  • Categories Templating, Development

Report an issue