How to get all Pages with a specific category

How do I get a List of all Pages (only Leaf Bundle) with a specific Taxonomy… Pseudocode:

{{ $my_list := where .Site.RegularPages eq “category” “mycat” }}

i don’t get it :slight_smile:

This is covered in the documentation for the where function.

https://gohugo.io/functions/collections/where/#intersection-comparison

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.