{{!
  Copyright (c) HashiCorp, Inc.
  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}}