How to list all tags of section?

Hi
I want to add all of the tags of a section on the page. We have .Site.Taxonomies.tags but I want something like .Section.Taxonomies.tags.
Is it possible?

TY~

{{ $t := where .Site.Taxonomies.tags ".Page.Section" "foo" }}
2 Likes

Thanks a lot here I improved it a bit

        {{ $sec := .Section }}
        {{ $t := where .Site.Taxonomies.tags ".Page.Section" $sec }}

Not entirely the same, but you can also do:

{{ $t := .CurrentSection.GetTerms "tags" }}
3 Likes

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