Use tags within pagination

On the index context, there aren’t tags available like there would be on a page context. What would those tags be doing?

Hmm I notice that even on another page (not the index template) these tags are not accessible using has helper. I am using it to optionally display some partials.

It should work. You have to ensure, though, that you’re inside the post context when using it, so {{#post}} {{#has ...}}.

If you’re still not getting the expected results, use the log helper to see if the data is available as expected.

1 Like