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 Taxonomy | Grav Documentation - 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
Kevin Smith's Posts
{% for post in taxonomy.findTaxonomy({'author':'ksmith'}) %}
- {{ post.title }}
{% endfor %}
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