Hello,
I’m looking to display conditionnal content based on the chosen tag/slug (in this page https://site.ghost/tag/\<slug>)
I was thinking about doing something like {{#has slug=“<slug>”}} content {{/has}}. I tried a lot of things like slug.<slug>, tag.<slug>, with and without quotes but none of them worked. The help page Ghost Handlebars Theme Helpers: has did not help me. This meaning of this is not clear for me:
{{#has slug="welcome"}}{{/has}}
{{#has slug=../../slug}}{{/has}}
{{#has id=post.id}}{{/has}}
I do not have any specific route configured.
Would you clarify this to me?
Thank you!
Steven