I’m building my very first grav website and don’t know the available taxonomy variables can be used. I would like to print the taxonomy title (which is included in the sample), taxonomy name and its content.
It could be something like below:-
{{ term1 }}
{% for post in taxonomy.findTaxonomy({‘category’:‘term1’}) %}
{{ post.title }}
{{ post.content }}
{% endfor %}
{{ term2 }}
{% for post in taxonomy.findTaxonomy({‘category’:‘term2’}) %}
{{ post.title }}
{{ post.content }}
{% endfor %}
I’ve also got a problem printing the description. I’ve added two taxonomy terms and added a modular page and used a different taxonomy terms and the results are duplicated.