Arguments
section
String
Type of request pages
taxonomy
String
Target taxonomy filter
slug
String
The relation value to find (Slug or Title)
additionalParams (optional)
String
Where expression additional
Usage
{{ partial "func/GetTaxonomyPageBySlug" $map }}
Example
In this example, we want all people with “Lorem ipsum” as expertise (persons_expertises).
{{- $pages := partial "func/GetTaxonomyPageBySlug" (dict
"section" "persons"
"taxonomy" "persons_expertises"
"slug" "lorem-ipsum") -}}