Good day to all and also to Bob, who is always answering to me and helping here. I need your help again.
I like the way how mercury theme filtet is working. I don’t need it on main page (in index.hbs) so I decided to transfere this functional to another page. And, as I expected, it is not working. My steps:
1. I created alternative post template post-portfolio.hbs
2. In config.json I added
"postTemplates": {
"portfolio": "portfolio filter"
},
3. Created a post, hide it, exclude it from main page and chose post template “portfolio filter”
4. In alternative post template post-portfolio.hbs I copied all from default index.hbs (where filters were).
5. I created three tags, three posts. To each post I added a tag.
Now, when I am entering …/preview/portfolio.html I see that head, navbar, footer are working. Then I can see that the first part of filter is showing (where navigation is) and then I see endless loading (circle) but no posts cards next after filter navigation. In dev tools in console there is no errors or warnings.
What did I missed? Help me please.