Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Default Template

Code Block
breakoutModefull-width
languagehtml
<div class="image-content">
    {{#if link}}
        <a hawksearch-link href="{{link.url}}"{{attribute (concat 'target="' {{link.target '"') link.target}}">
            <img
                src="{{image.url}}"
                class="image-content__image"
                height="{{image.height}}"
                width="{{image.width}}"
                alt="{{image.altText}}"
                title="{{image.title}}" />
            />
        </a>
    {{else}}
        <img
            src="{{image.url}}"
            class="image-content__image"
            height="{{image.height}}"
            width="{{image.width}}"
            alt="{{image.altText}}"
            title="{{image.title}}"
        />
    {{/if}}
</div>