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~
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" }}
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" }}
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.