Hi Community!
I am attempting to insert a button at the end of articles if they have a certain label on it.
Any pointers to how this can be achieved?
I tried something like this, which doesnt seem to do the trick.
<div class="content-body article-body">
{{article.body}}
</div>
<div>
{{#if article.labels}}
{{#each (filter article.labels on 'identifier' equals="specific label")}}
<div>
<button type="button" onClick="javascript:window.open('https://###', '_blank');" class="x">Text</button>
</div>
{{/each}}
{{/if}}
</div>
