mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-02-17 17:05:00 +00:00
26 lines
602 B
Handlebars
26 lines
602 B
Handlebars
{{#if this.shouldShow}}
|
|
<ul
|
|
class="custom-header-links
|
|
{{if @outletArgs.topicInfoVisible 'custom-header-links--hide-links'}}"
|
|
>
|
|
{{#each this.links as |link|}}
|
|
<li
|
|
class={{concat-class
|
|
"headerLink"
|
|
link.device
|
|
link.locale
|
|
link.linkClass
|
|
link.hideOnScroll
|
|
}}
|
|
>
|
|
<a
|
|
title={{link.anchorAttributes.title}}
|
|
href={{link.anchorAttributes.href}}
|
|
target={{link.anchorAttributes.target}}
|
|
>
|
|
{{link.linkText}}
|
|
</a>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
{{/if}} |