Hi guys,
I have been trying to make use of taxonomy and it is not working on my site.
I have carefully followed the steps described at https://learn.getgrav.org/16/content/taxonomy - since I am experimenting, I opted for the most straightforward way and used taxonomy tag in my frontmatter.
Then I created a new page (default.cz.md) and copied in
<h2>Kevin Smith's Posts</h2>
<ul>
{% for post in taxonomy.findTaxonomy({'author':'ksmith'}) %}
<li>{{ post.title }}</li>
{% endfor %}
</ul>
from the Grav manual, only modifying the title and replacing author with tag and ksmith with spravce. However, instead of a list of topics (i. e. the two pages that have tag: [spravce] in their frontmatter), I am getting this:
Why is this happening? Is there an option in system.yaml or site.yaml (somewhere else?) that I forgot to switch on? I am using a theme based on Learn2.
Thanks for pointing me in the right direction.
Sue