You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
362 B
HTML

{{ $page := . }}
{{ $result := $page.GetTerms "authors" }}
{{ if and $page.IsPage (not $result) site.Taxonomies.authors }}
{{ range $id, $taxonomy := site.Taxonomies.authors }}
{{ if eq $taxonomy.Page.Params.default true }}
{{ $result = $result | append $taxonomy.Page }}
{{ end }}
{{ end }}
{{ end }}
{{ return $result }}