Can one use the handlebars if to check a slug condition?

My tag.hbs has a sidebar it it.

Is there a way i can show the sidebar upon certain tags only instead of showing up the sidebar on all tags/slug?

For example the sidebar will show if user visits but will be hidden (or maybe show a different html) if the user visitis

Any thoughts? Thanks in adavanced

Sounds like you’re looking for the {{#has}} helper:

1 Like

Yes that solves the problem! Thank you so much @Hannah! :ok_hand: