From my humble understanding I assume we lack filters on actual CSS classes.
I wonder the best approach with less coding and/or Javascript as possible, to select specific tags.
That’s Discourse:
<div class="discourse-tags" role="list" aria-label="tags"><a href="/tag/control" data-tag-name="control"
class="discourse-tag box">control</a><a href="/tag/distopia" data-tag-name="distopia"
class="discourse-tag box">distopia</a><a href="/tag/realidad" data-tag-name="realidad"
class="discourse-tag box">realidad</a></div>
data-tag-name
could be used as selector to change easily CSS code with a solid and elegant method.
So, what’s I’m looking for in Ghost?
I want to display a clear differentation between #music
and #posts
but sharing common tags between the collections.
For instance:
<div class="item-tags global-tags">
<a href="/tags/music/">music</a><span><a href="/tags/self/">self</a></span>
</div>
What’s your best suggestion? Handlebars can help and be used as workaround?