<!-- Error rendering component -->
<!-- TwigException: Twig.expression.type.operator.binary cannot follow a Twig.expression.type.operator.binary at template:20 near ':...' -->
<!-- Error: TwigException: Twig.expression.type.operator.binary cannot follow a Twig.expression.type.operator.binary at template:20 near ':...'
    at /opt/build/repo/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/opt/build/repo/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/opt/build/repo/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/opt/build/repo/node_modules/co/index.js:65:19) -->
<section class="Training-host">
  <div class="grid grid--v-gap grid--7/5">
    <div class="body flow--s">
      <p class="h text-red">Meet your host</p>
      {% if host.title %}
        <h2>{{ host.title }}</h2>
      {% endif %}
      {% if content.description %}
        <div class="body wysiwyg flow">{{ content.description }}</div>
      {% endif %}
      {% include '@twi' with {
        icon: 'arrow-right',
        text: 'More about ' ~ host.firstName,
        link: host.url
      } %}
    </div>
    {% set image = host.image %}
    {% set alt = image ? image.altText ? : entry.title %}
    {% set image = image ? image.getUrl('profile') %}
    <figure class="Headshot Training-host__image">
      {% if image %}
        {% include '@team-photo' with {
          src: image,
          alt: alt
        } %}
      {% endif %}
    </figure>
  </div>
</section>
/* No context defined. */
  • Content:
    .Training-host {
      margin-block-start: var(--space-l);
      padding-inline: var(--space-l);
      padding-block: var(--space-l);
      border: 1px solid var(--light-grey);
    
      &__image {
        margin-block-start: calc( var(--space-l) * -2 );
      }
    }
    
  • URL: /components/raw/training-host/training-host.css
  • Filesystem Path: src/templates/components/training-host/training-host.css
  • Size: 234 Bytes

No notes defined.