Hi there,
I built a menu in Publii with an entry labeled foo and type Tags list link.
I tried the following code on tag.hbs to show the corresponding post. Unfortunately, it does not work. So, what am I doing wrong ?
And secondly, how do I make this dynamically to use one *.hbs for all tags…
{{#each @website.contentStructure.tags}}
{{#checkIf this.name '==' 'foo'}}
{{#if this.postsNumber}}
{{#each this.posts}}
{{title}}
{{/each}}
{{/if}}
{{/checkIf}}
{{/each}}
Thanks, Michael