Hello.
I need to modify: layouts -> single.html
I need a range statement. Now I have:
{{range $name, $taxonomy := .Site.Taxonomies.childrenof}}
{{ range $taxonomy.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ end }}
It works. It lists all pages that have in ‘Front Matter’:
childrenof: ['n1']
or
childrenof: ['n2']
…
Question: how to modify original loop code for:
to render only pages which have in ‘Front Matter’: childrenof: [‘xxx’]
where xxx is Title OR Filename of current page.
Thank you!