Listing tags in posts of specific category

have you figured this out? im stuck on this exact same issue. i have a similar post response on the forum that was moved to its own thread but so far i have only beein pointed back to hugo documentation.

i suppose im still trying to gain better understanding of the way taxonomies are referenced and evalutated, once it clicks i presume this is an easy issue to solve.

here is what i am currently trying to modify…
the tags are always for the entire site, i cant get the range to stay constrained to the “food” criteria.

    {{ range ($.Site.GetPage "taxonomyTerm" "categories").Pages }} {{ if (eq .Title "food") }}
  • {{ .Title}}
  • {{ range $name, $taxonomy := .Site.Taxonomies.tags }} {{ $name }}
    {{ end }}
  • {{end}} {{ end }}