I’m trying to make a small change in the related posts in the default Lyra template to serve a different template depending on the tag the post is published in (one tag category only has numbers and that doesn’t make for a good post excerpt).
This is the default in post.hbs
{{!-- If there's a previous post, display it using the same markup included from - partials/post-card.hbs --}}
{{#prev_post}}
{{> "post-card"}}
{{/prev_post}}
This is what I’m trying to accomplish
{{#next_post}}
{{#has tag="#performance"}}
Bla
{{else}}
{{> "post-card"}}
{{/has}}
{{/next_post}}
I’m sure the answer is fairly trivial, but browsing the forums/docs for ages I’m still stuck. Thanks!