Alan Guo Xiang Tan f537e66015
DEV: Switch to new API to render into plugin outlet take 2 (#40)
This reverts commit c2c6b9bc37fbd3887e350ed229b652161d51d992.

Theme compatibility issue has been fixed.
2023-10-18 08:42:29 +08:00

25 lines
614 B
Handlebars

{{#if this.shouldShow}}
<ul
class="custom-header-links
{{if @outletArgs.attrs.topic 'custom-header-links--hide-links'}}"
>
{{#each this.links as |link|}}
<li
class="headerLink
{{link.device}}
{{link.keepOnScrollClass}}
{{link.locale}}
{{link.linkClass}}
{{link.keepOnScroll}}"
>
<a
title={{link.anchorAttributes.title}}
href={{link.anchorAttributes.href}}
target={{link.anchorAttributes.target}}
>
{{link.linkText}}
</a>
</li>
{{/each}}
</ul>
{{/if}}