mirror of
https://github.com/Damillora/Yuika
synced 2024-11-14 14:07:31 +00:00
24 lines
654 B
Handlebars
24 lines
654 B
Handlebars
<div class="post-header__tag-row">
|
|
{{#if primary_tag}}
|
|
{{#primary_tag}}
|
|
<a href="{{url}}">
|
|
{{#if accent_color}}
|
|
<span class="post-header__tag-color" style="background-color: {{accent_color}};"></span>
|
|
{{else}}
|
|
<span class="post-header__tag-color"></span>
|
|
{{/if}}
|
|
<span class="post-header__tag-name">{{name}}</span>
|
|
</a>
|
|
{{/primary_tag}}
|
|
{{/if}}
|
|
{{#has visibility="paid"}}
|
|
<a href="/subscribe">
|
|
<span class="post-header__paywall">Paid content</span>
|
|
</a>
|
|
{{/has}}
|
|
{{#has visibility="members"}}
|
|
<a href="/subscribe">
|
|
<span class="post-header__paywall">Member-exclusive</span>
|
|
</a>
|
|
{{/has}}
|
|
</div> |