Hi,
Let’s say I’m using two tags in a post; both have distinct colors.
Is there a way to display the accent color of each different tags in a single post?
My code works fine for the first tag in the list, however I’m struggling with the second tag.
What am I missing here?
<div class="primary-post-tag" style="--color:{{primary_tag.accent_color}}">
<a href="{{primary_tag.url}}">{{primary_tag.name}}</a>
</div>
<div class="secondary-post-tag" style="--color:{{accent_color}}">
{{tags from="2"}}
</div>
Thanks for your help.