Given 2 different content types exist, say “publication” and “post”, both containing tags
taxonomy parameter, how can I retrieve a list of tags used only in the “publication” content?
I think I’m close with what I have below, but it’s returning a list of all publication pages rather than a specific list of tags used in the publication content:
{{ range $key, $taxonomy := (where .Data.Pages "Type" "publication") ".Params.tags" "intersect" .Site.Taxonomies.tags }} Key: {{ $key }} Taxonomy: {{ $taxonomy }} {{ end }}
Any help is much appreciated