{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

{{#if @sameTab}}
  <a href={{this.href}} ...attributes>
    {{yield}}
  </a>
{{else}}
  <a href={{this.href}} target="_blank" rel="noopener noreferrer" class="doc-link" ...attributes>
    {{yield}}
  </a>
{{/if}}