{# @var craft \craft\web\twig\variables\CraftVariable #} {# @var entry \craft\elements\Entry #} {# {% embed '_templates/twoColumns/_template.html' with { options: { modiefiers: ['YOUR_MODIFIER'], area1: true, area2: true, area3: true } } only %} {% block area1 %} … {% endblock %} {% block area2 %} … {% endblock %} {% block area3 %} … {% endblock %} {% endembed %} #} {# -- Set Defaults -- #} {% set defaults = { cn: 'e-twoColumns', modifiers: [], customClasses: [], data: {}, js: null, intro: null, content: null, sidebar: null } %} {# -- Merge Default with Options -- #} {% set opt = opt is defined ? defaults|merge(opt) : defaults %} {# -- Modul -- #} {% if opt.intro and opt.content %}